Skip to main content
Glama

get_log

Read-only

One call of the last 30 days by its request id (x-request-id): request details and the response body it returned, again, for free (no credits; truncated if very large). Use it to recover data from an earlier call instead of calling the endpoint again.

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_log"
  }
}

Input Schema

NameRequiredDescriptionDefault
request_idYesThe call's request id (UUID).

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?

Annotations already cover readOnly, non-destructive, and closed-world status, yet the description still adds real behavioral facts: a 30-day retention window, no credit cost, and truncation of very large response bodies. It does not explain the exact truncation limit or the returned log structure, which keeps it from a 5.

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?

One sentence, front-loaded with the resource and scope, with cost and truncation caveats packed into parentheses. Dense but no filler; splitting the cost note out would slightly improve legibility.

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?

For a single-parameter read with no output schema, the description covers scope (30 days), identity source (x-request-id), return content (request details and response body), cost, and the truncation caveat. Nothing essential for correct invocation 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 100%, so the baseline is 3, and the description earns an extra point by clarifying that request_id is the x-request-id value from an earlier call, giving it provenance the schema does not.

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?

Names a specific verb and resource: fetch one call log from the last 30 days by request id, returning request details plus the response body. It implicitly separates itself from call_api/request_api ("instead of calling the endpoint again"), but never mentions siblings like list_logs, so the differentiation is only partial.

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 usage context: reuse a stored call instead of re-invoking the endpoint, which also saves credits. It lacks an explicit 'when not to use' or a named sibling to route to for listing or live calls.

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