Skip to main content
Glama

diff_traces

Compare two agent traces to detect regressions. Returns score delta, cost delta, added/removed tools, new/resolved issue types.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
trace_aYesBaseline (previous) trace
trace_bYesNew trace to compare against baseline
budget_usdNo

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are provided, so the description must carry the full burden. It discloses key return information (score delta, cost delta, added/removed tools, issue type changes), which is useful. However, it does not mention whether the operation is read-only, any side effects, or limitations regarding input size or trace format.

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?

The description is a single, front-loaded sentence that efficiently lists the return values without unnecessary words. Every phrase earns its place, and the list format is easy to scan.

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?

Given the tool's simplicity (2 required params, no output schema, no nested objects), the description covers the core purpose and return contents. However, the budget_usd parameter is unexplained, and no guidance is given on how this tool fits with sibling tools, leaving moderate gaps in completeness.

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?

The schema provides descriptions for trace_a and trace_b, but the description adds little beyond that. More importantly, budget_usd has no schema description and the tool description does not clarify its meaning or relation to the 'cost delta' output, leaving a significant 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?

The description uses a specific verb 'Compare' with a clear resource 'two agent traces' and states the purpose 'detect regressions'. This distinguishes it from siblings that likely operate on a single trace, such as audit_trace and quick_verdict.

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?

The description implies use when comparing a baseline and new trace to detect regressions, providing clear context. However, it does not explicitly state when not to use this tool or mention alternative tools by name, so it lacks explicit exclusions or alternatives.

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.

TDQS

A3.8/5.0
Disambiguation5/5

Each tool targets a distinct need: full audit, trace comparison, and fast CI verdict. There is no overlap in purpose or output.

Naming Consistency4/5

Three tools use snake_case and are clear, but audit_trace and diff_traces follow verb_noun while quick_verdict is adjective_noun, breaking the pattern slightly.

Tool Count5/5

Three tools are well-scoped for a focused auditor server. The count is appropriate and each tool serves a clear, non-redundant role.

Completeness4/5

The toolset covers deep audit, regression comparison, and quick gating. Minor gap: no explicit tool for retrieving raw trace data, but it's likely out of scope.