MCP Shipyard
← Rules catalog

MCP tool with an HTTP method parameter: Claude review rejection and the split

Claude rejects one tool that accepts both GET and POST/DELETE. Split it into a read-only tool and separate create, update and delete tools.

blockercatchall.method-paramClaude

Split any tool that lets the caller choose an HTTP method into one read-only tool and separate write tools. The rule catchall.method-param is a blocker for Claude and follows Claude's review criteria.

What you see

  • A scan reports catchall.method-param: Parameter "method" selects the HTTP method.
  • A directory review that rejects a catch-all tool. The reviewer's exact wording is not verified here.

Why it happens

A generic proxy tool is the fastest way to wrap an API: one api_request with method, path and body. Claude's review criteria say a tool that accepts both safe methods (GET, HEAD, OPTIONS) and unsafe methods (POST, PUT, PATCH, DELETE) is rejected, and that documenting safe versus unsafe operations inside one description does not satisfy the requirement.

The rule fires when a tool has a parameter named method, http_method or verb, plus a free-form target such as endpoint, path, url, sql or request, and the method values include both a safe and an unsafe method. When the parameter has no enum, the rule treats it as able to carry any method.

Check it yourself

curl -s -X POST https://mcp.acme.example/mcp \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json, text/event-stream' \
  -H "Authorization: Bearer $TOKEN" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \
 | jq '.result.tools[] | select(.inputSchema.properties | keys | any(test("^(method|http_method|verb)$"))) | .name'

Every name printed needs a closer look.

Fix

Replace the proxy with purpose-built tools:

  • get_order and list_orders with readOnlyHint: true
  • create_shipment, update_shipment, with readOnlyHint: false
  • cancel_shipment with destructiveHint: true

Each gets its own description, schema and annotations. Do not keep the old proxy "for power users" in the same listing; see catchall.generic-executor. If you only need reads, remove the method parameter and fix the verb to GET inside the tool.

Verify

Run the jq command again with no output, then re-scan. Check annotations.missing for the new tools.

Which clients care

Claude, per the rule. ChatGPT has its own catch-all rules, covered in catchall.generic-executor.

Source

Claude review criteria: https://claude.com/docs/connectors/building/review-criteria

Run a free scan at https://mcpshipyard.com/scan to check every rule at once.

Check every rule at once

A free scan runs this check and the other 152 against your live URL.

Scan a server