Skip to main content
Glama

MatLogica Demo

demo_inspect_trace

Read-only

Read an owned saved trace. Omit query for captured valued reports, economic stages and available SDK queries; exact saved queries only, no new computation.

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": {
      "trace_job_id": "<trace_job_id>",
      "guest_session": "<guest_session>"
    },
    "name": "demo_inspect_trace"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryNo
trace_job_idYes
guest_sessionYesWorkspace returned by demo_start_session in this conversation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds real value with "owned" (ownership/authorization scoping) and "no new computation" (the tool will not evaluate arbitrary queries), but says nothing about failure behavior for non-saved queries or pagination/bounds.

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?

Two compact sentences with the core action front-loaded and no filler. The triple list "captured valued reports, economic stages and available SDK queries" is slightly dense and could be clearer, but nothing is wasted.

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

Completeness3/5

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

For a read-only tool with a nested query union and no output schema, the definition covers the null-query case but not the structure of what each query kind returns, nor how trace_job_id is obtained. It is adequate to start a call but not sufficient to choose a query kind confidently.

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 description coverage is only 33%, so the description must carry weight; it does explain that omitting query yields captured reports and that query must be a saved SDK query. However, the seven query kinds (stats, leaves, origin, uses, cone, at, branches) and trace_job_id are left entirely to the schema, whose nested anyOf is opaque.

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 and resource ("Read an owned saved trace") and adds a differentiating constraint ("exact saved queries only, no new computation") that separates it from compute-capable siblings like demo_trace_trade. It does not name a sibling outright, and demo_get_trace is close enough that an agent could still hesitate between them.

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

Usage Guidelines3/5

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

"Omit query for captured valued reports..." gives one concrete usage mode and "no new computation" implies a when-not boundary. There is no explicit routing to an alternative tool for computing new values, and no guidance on when a trace_job_id would be valid or how it is obtained.

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