Skip to content

MCP manifest cannot represent required query params #878

Not planned

Description

@athvin

What

rust/crates/er-mcp/tools.json derives each tool's params from path-template segments only — there is no query-param vocabulary. Routes with a REQUIRED query param therefore present an MCP caller an incomplete signature:

The failure mode is self-describing (the 422 names the valid values), so severity is low — but an MCP agent must discover the param by failing once, which is exactly the kind of undocumented round-trip the manifest exists to prevent.

Fix

Extend the manifest derivation (er-server/tests/mcp_manifest.rs) with a query-param channel — either harvested from the handler's documented params or declared alongside — so a required ?x= shows up in the tool entry.

Surfaced by pr-review on #805. Candidate parent: #857.

Activity

  1. added
    pruned
    on Nov 27, 2026
  2. athvin commented on Nov 27, 2026

    @athvin
    OwnerAuthor

    Closed in the 2026-11-26 board prune. The board now targets a deduplication tool that works the same whatever the data's source. This card is part of the MCP/agent feature set, which is out of scope, so it isn't needed for that. It's labelled pruned and can be reopened if it becomes relevant.

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

    pruned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions