Skip to main content
Glama

Une trace au hasard / A random trace

random_trace
Read-only

Returns one trace picked at random from the whole history, not just the recent ones. / Une trace tiree au hasard dans tout l'historique.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true, idempotentHint=false and destructiveHint=false, so the safety profile and non-repeatability are covered. The description adds the useful sampling-domain detail (all history, not just recent), but says nothing about what happens on an empty history or how the trace is identified.

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 short sentences, with the key scope constraint front-loaded before the elaboration. The bilingual duplication is a deliberate localization choice rather than padding, though it does double the length.

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

Completeness4/5

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

For a no-parameter, read-only sampling tool with no output schema, the description covers what is returned (one trace) and the pool it is drawn from. Minor gaps (empty-history behavior, trace identity) are not critical for correct invocation.

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?

Zero parameters, so there is nothing to document; the 100% schema coverage baseline of 3 applies. The description correctly implies no filtering arguments are available.

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 (returns/picks at random) and resource (one trace) plus a scope qualifier: drawn from the whole history, not just recent ones. This implicitly separates it from read_traces, but it never names a sibling explicitly.

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 'whole history, not just the recent ones' phrasing hints at when this is preferable to a recency-scoped listing tool, but there is no explicit when-to-use/when-not guidance or named alternative (read_traces, read_thread).

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