Skip to main content
Glama

Get proxy operation

stack_get_proxy_operation
Read-only

Read a proxy operation's delivery, replay and accounting state. Optionally return the stored screened response when current Passport scope permits it. An unknown outcome left 7 days carries unresolved_at (never resent). This read is not metered. The operation ID is sent in the request body, not the URL, and does not grant access by itself.

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>",
      "passport_token": "<passport_token>"
    },
    "name": "stack_get_proxy_operation"
  }
}

Input Schema

NameRequiredDescriptionDefault
operation_idYesThe stable operation id used for the original proxy request
passport_tokenYesLive Passport JWT used to authorize this operation read
include_responseNoReturn the stored screened response when it is available and authorized. Default false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Goes well beyond the annotations by disclosing non-obvious behavior: unmetered reads, an unresolved_at marker after 7 days for unknown outcomes, never resending, and the operation ID traveling in the body rather than the URL. The only missing piece is a fuller picture of what the returned state fields mean.

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

Conciseness5/5

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

Five short sentences, each carrying distinct information with no repetition, and the core purpose plus scope condition are front-loaded. Nothing could be removed without losing behavior-relevant detail.

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?

Given no output schema, the description does a reasonable job naming the state categories (delivery, replay, accounting) and the unresolved_at field, and it covers auth and transport quirks. A little more on the shape of the returned state would make it fully self-sufficient.

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

Parameters4/5

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

With 100% schema coverage the baseline is 3, and the description adds real meaning: operation_id is body-transported and not an authorization credential, and include_response is gated on Passport scope and only returns a stored screened response when current. That clarifies semantics the schema alone leaves implicit.

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?

States a specific verb ('Read') and a specific resource state ('proxy operation's delivery, replay and accounting state'), which distinguishes it from the write-side sibling stack_proxy_request. It never names an alternative explicitly, so differentiation relies on the verb rather than a direct contrast.

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 clear invocation context: the read is not metered, include_response requires the current Passport scope, and the operation ID alone does not grant access. No explicit 'when not to use' or named alternative is provided, so it stops short of a 5.

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.