Skip to main content
Glama

MatLogica Demo

demo_compare_traces

Read-only

Compare matched owned selected-path outputs and legacy source/expression summaries. Use demo_inspect_trace and demo_compare_trace_values for captured rich diagnostic intermediate values; operation IDs remain local to each recording.

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": {
      "a": "<a>",
      "b": "<b>",
      "guest_session": "<guest_session>"
    },
    "name": "demo_compare_traces"
  }
}

Input Schema

NameRequiredDescriptionDefault
aYes
bYes
guest_sessionYesWorkspace returned by demo_start_session in this conversation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and a closed world, so the safety profile is covered. The description adds one genuinely useful behavioral caveat, that operation IDs remain local to each recording, plus a scope hint ('matched owned'), but says nothing about what happens when traces do not match or what the comparison produces.

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 no filler; the alternative-tool routing is front-loaded right after the purpose. Density is high but length is appropriate for the information conveyed.

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

Completeness2/5

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

With no output schema and two of three parameters undocumented, the description should explain what the comparison returns (mismatch reporting, selected-path vs legacy summary diff) and what a and b identify. It does neither, so an agent knows the category of the tool but not how to call it confidently or interpret results.

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

Parameters2/5

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

Schema description coverage is only 33%: guest_session is documented in the schema, while a and b are bare UUID-patterned strings with no titles or descriptions. The description never explains that a and b are the two recordings being compared, leaving the core inputs ambiguous in both schema and prose.

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 concrete verb (Compare) and a specific resource (matched owned selected-path outputs and legacy source/expression summaries), and separates itself from two named siblings. The noun phrases are jargon-heavy, but an agent can still tell this is the trace-diff tool rather than an inspection tool.

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?

The second sentence routes agents to demo_inspect_trace and demo_compare_trace_values when they need rich captured intermediate values, implicitly framing this tool as the coarser comparison. There is no explicit statement of when to use this tool instead of those two, and no prerequisites or exclusions are 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