Skip to content

title Keyword Argument #985

Closed
Closed

Description

@sivianil

Initial Checks

Description

I had written a tool to compute the BMI and Fetch Weather (similar to tool call in GitHub). Provided keyword title for each tool call @mcp.tool(title="BMI Calculator"). When I tried to ran the command "mcp dev file.py", encountered an error TypeError: FastMCP.tool() got an unexpected keyword argument 'title'.

Without the title argument, the command works fine, functionality too.

Example Code

@mcp.tool(title="BMI Calculator")

Python & MCP Python SDK

MCP version 1.9.4
Python version 3.11

Activity

  1. Kludex commented on Jun 19, 2025

    @Kludex
    Member

    The parameter is name.

  2. BhuwanPandey commented on Jun 19, 2025

    @BhuwanPandey

    @Kludex
    Yesterday, while following instruction from documentation, I also noticed this issue. To confirm this, I look at some latest PR but still they are including title . #972 . I don't know.
    If parameter is name. then, Documentation should be update accordingly.

  3. reopened this on Jun 19, 2025
  4. Kludex commented on Jun 19, 2025

    @Kludex
    Member

    Ah, sorry. It's a new thing. Yep, title is missing.

    We need to make a release. I think there's a release coming today.

  5. added
    enhancement
    and removed on Nov 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions