Skip to main content
Glama

model_messages

Read-only

POST /v1/messages; full native body/options. Complete native body and headers; select protocol from the fixed supported paths. Exact model IDs are forwarded unchanged.

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": {
      "workspace": "<workspace>",
      "body": "<body>"
    },
    "name": "model_messages"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYes
queryNo
headersNo
protocolNo
workspaceYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=false and destructiveHint=false, so safety is covered. The description adds real behavioral detail beyond them: the body and headers are passed through complete and untransformed, model IDs are forwarded verbatim with no alias resolution, and protocol must come from a fixed set of paths. It still says nothing about response shape, errors, or streaming, which matters for a passthrough endpoint. Note the mild tension between the HTTP 'POST' framing and readOnlyHint=true, though for an inference call this is not a true contradiction.

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

Conciseness4/5

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

Three compact clauses with no filler, and the endpoint/verb is front-loaded. The telegraphic phrasing ('full native body/options') borders on terse to the point of ambiguity, but nothing is wasted.

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

Completeness4/5

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

For a low-complexity passthrough with a nested free-form body, no output schema, and safety covered by annotations, the description covers the essential contract: raw forwarding, verbatim model IDs, and protocol selection. The main missing piece is any indication of what a successful call returns, but the fixed-path constraint and pass-through semantics are the parts an agent cannot guess.

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

Parameters2/5

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

Schema description coverage is 0% across 5 parameters, including a required nested free-form body and a required workspace, so the description must carry the load. It clarifies protocol (matching the two-value enum) and confirms body/headers are forwarded unmodified, but leaves workspace, query, and the structure expected inside body entirely unexplained.

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

Purpose3/5

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

The description identifies the underlying endpoint (POST /v1/messages) and frames the tool as a native passthrough with the full body/options, which conveys a raw-proxy purpose rather than a simplified chat call. However, it never states in plain terms what the tool does for the caller (send a message request to a model) and gives no hint of how it differs from sibling inference tools such as model_chat or model_responses.

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

Usage Guidelines2/5

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

There is no when-to-use guidance and no named alternative. 'Full native body/options' implies this is for callers who need the unmodified upstream payload, but the agent must infer that this tool is the escape hatch versus the higher-level chat/responses siblings, and nothing states when-not to use it.

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.

Resources