Skip to main content
Glama

Call a read-only API operation by id

callReadOperation
Read-only

Executes a read-only API operation (readOnlyHint true) identified by operation_id, with arguments matching its full input schema. Rejects write operations. The caller's token and scopes apply; passkey approval and immediate posting are unavailable; future scheduling uses drafts scope. The token's workspace is the default when workspace is absent.

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": {
      "operation_id": "<operation_id>",
      "arguments": "<arguments>"
    },
    "name": "callReadOperation"
  }
}

Input Schema

NameRequiredDescriptionDefault
argumentsYes
operation_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Goes well past readOnlyHint by disclosing auth/token scope requirements, that passkey approval and immediate posting are unavailable, that future scheduling needs drafts scope, and that the token's workspace is the default when omitted. These are real behavioral constraints an agent could not derive from the annotations.

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?

Dense and front-loaded, with every clause carrying a constraint; the semicolon-chained qualifiers make it slightly run-on but nothing is filler.

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 generic passthrough tool with a free-form nested arguments object and no output schema, it covers the key prerequisites and constraints. The main remaining gap is not indicating where valid operation_ids come from.

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 0%, so the description must compensate: it explains that operation_id selects the operation and that arguments must match that operation's full input schema, which is useful framing. However, it never says where to obtain an operation_id (e.g. via getOperation) nor gives argument examples, so the nested free-form object remains underspecified.

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

Purpose5/5

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

States a specific verb and resource ("Executes a read-only API operation") plus the identifier used to select it, and explicitly says "Rejects write operations", which cleanly separates it from the callWriteOperation sibling.

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

Usage Guidelines4/5

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

Gives a clear when-not (write operations are rejected, so route those elsewhere) and notes the prerequisite that the caller's token and scopes apply. It never names callWriteOperation explicitly, so the routing is inferred rather than spelled out.

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