Skip to content

Regression in 1.11.1: not assigning tool arguments in schema #467

Closed
@kirk-marple

Description

@kirk-marple

When defining a tool in 1.11.1, the tool arguments don't appear on the MCP client.

However, using 1.10.2, they do.

Something must have broken between these two versions.

    server.tool(
    "searchMcpServers",
    `Retrieve relevant MCP Servers and Tools from McPoogle search engine. Use this tool to find MCP Servers and Tools that match a given user prompt. The search results will include the name, description, and GitHub URL of each MCP Server.
    Accepts an LLM user prompt for content retrieval. For best retrieval quality, provide only key words or phrases from the user prompt, which will be used to create text embeddings for a vector search query.
    Returns the ranked content sources, including their content resource URI to retrieve the complete Markdown text.`,
    { 
        prompt: z.string().describe("LLM user prompt for MCP search.")
    },
    async ({ prompt }) => {
[removed]
    }
    );   

For more detail, see issue in Vercel MCP adapter repo.

vercel-labs/mcp-for-next.js#9

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions