Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as AALY. If you published it, claim ownership there.

get_request_trace

Read-onlyIdempotent

Everything about ONE request in a single call: its own status/latency/payload, plus every Function invocation it triggered, in order, with each one's status, error text, and captured print() output. This is the tool for 'a request failed, was it my code' — pass the requestId you already have (from a client error, a support ticket, or list_logs) and get the whole story back at once.

request is the client's own top-level request. When a Function calls the project's API during it, those internal calls share the requestId and are listed in subRequests (oldest first, each with internal: true and parentRequestId), never as request.

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": {
      "request_id": "<request_id>"
    },
    "name": "get_request_trace"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idNoGet it from whoami or list_projects.
request_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / project_id / description
      Previous value: -"Optional if whoami returned a default_project_id."New value: +"Get it from whoami or list_projects."
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare readOnly/idempotent/non-destructive; the description goes well beyond them by disclosing what comes back (status, latency, payload, per-invocation status and error text, captured print() output), the ordering guarantee ("in order", subRequests "oldest first"), and how internal API calls are nested with `internal: true` and `parentRequestId`. That is exactly the behavioral context an agent needs to interpret results and to avoid misreading subRequests as the top-level request.

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?

Well front-loaded: the capability comes first, the diagnostic use case second, the structural caveat last, with no filler sentences. The opening sentence is dense with comma-chained clauses but every element carries information; a tighter phrasing could shorten it slightly without losing meaning.

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

Completeness5/5

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

There is no output schema, so the description carries the burden of describing return contents — and it does, enumerating the payload fields, per-invocation details, ordering, and the subRequests structure. For a two-parameter read-only diagnostic tool, nothing an agent needs to call or interpret it is missing.

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?

Schema coverage is 50% — project_id is documented inline but request_id is not — and the description compensates by explaining what request_id represents and where to obtain it, plus the key semantic that internal calls share the same requestId. project_id is left entirely to the schema, so it does not fully compensate for the coverage gap.

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 — retrieve everything about ONE request plus every Function invocation it triggered — and draws an explicit boundary against the other likely candidate, list_logs, by naming it only as a source of requestId. The second paragraph clarifies that `request` is the client's top-level request while internal calls appear as `subRequests`, so an agent can distinguish this from a generic log-listing call without opening the schema.

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?

Frames the use case directly ("a request failed, was it my code") and tells the agent where the required requestId comes from — a client error, a support ticket, or list_logs — which is actionable routing guidance. It stops short of an explicit when-not-to-use statement or a named alternative for bulk/multi-request investigation, which keeps it below 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.

Resources