Skip to main content
Glama

mechacut

agent_modelid

Audit a LIST of model ids against a PASTED catalog with closed grammar — zero fetch, zero guessing, named verdicts. Why this and not 'curl | jq': every gateway wants its own script, and a diff teaches nothing — here each failure gets a NAME: PREFIX_KEPT (LiteLLM v1.82.3 sent its own openrouter/ prefix upstream), NO_ORG (n8n stripped the prefix a gateway routes on), CASE_DRIFT, PUNCT_DRIFT (upstage/solar-pro-4 vs solar-pro4: one dash, dead subagents), VARIANT_DECOR (:free is part of the identifier, not a hat), NOT_IN_CATALOG with did-you-mean at a NAMED threshold (Levenshtein <= 3 on the normalized form) or silence — no invented near-miss. V23 doctrine lives IN the response: OK certifies shape and the pasted annuaire, NEVER the GET — invocability is a ping this grammar refuses to fake. openclaw #20522/#45294, litellm #37271/#14807 asked for exactly this by name. Variant suffixes are TYPED from the closed published table: catalog variants (:free, :batch — Batch-API-only, our V23 mirage explained) must not be stripped, routing variants (:nitro, :floor, :exacto, :online) are ABSENT from any /models list by design — that absence is not an error to fix. Free, EN/FR/PT tags, golden sha.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "ids": "<ids>"
    },
    "name": "agent_modelid"
  }
}

Input Schema

NameRequiredDescriptionDefault
idsYesmodel id strings EXACTLY as sent
catalogNopasted annuaire ids (GET /v1/models output); omit for grammar-only mode

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full burden and discloses substantial behavior: zero fetch, zero guessing, named verdicts (PREFIX_KEPT, NO_ORG, CASE_DRIFT, etc.), a Levenshtein threshold, and the crucial limitation that 'OK certifies shape and the pasted annuaire, NEVER the GET.' It explains edge cases like routing variants being absent by design, though it does not describe response structure or side effects explicitly.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single dense paragraph cluttered with issue numbers ('openclaw #20522/#45294'), references to 'V23 doctrine,' and colorful asides ('dead subagents,' 'mirage explained'). While the purpose is front-loaded, many sentences do not earn their place and the jargon makes it hard to parse quickly.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a complex grammar-audit tool with no output schema, the description covers many edge cases and modes, but it never describes the response shape beyond naming verdicts. The heavy jargon and references to internal doctrine leave gaps in understanding exactly what the agent will receive, making it adequate but not fully complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the schema already documents both parameters, including their types and the 'omit for grammar-only mode' note. The description adds conceptual context about how ids are audited against the catalog, but it does not add syntax or format details beyond what the schema provides. The baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resource: 'Audit a LIST of model ids against a PASTED catalog with closed grammar.' It also distinguishes itself from a generic alternative ('Why this and not curl | jq'), making the core purpose identifiable despite dense jargon. It stops short of differentiating from sibling agent_* tools, which keeps it from a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives a clear context for use (auditing a list of model ids against a pasted catalog) and explicitly contrasts itself with 'curl | jq', but it does not state when not to use the tool or name sibling alternatives. The grammar-only mode hint ('omit for grammar-only mode') is the only conditional guidance, leaving usage largely implied.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.