Skip to main content
Glama

Algo Trade Analytics

compare_trials

compare_trials
Read-onlyIdempotent

Compare case-study trials or strategy variants before drawing a research conclusion.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
topNNo
caseStudyIdNo
researchRunIdNoOptional: bind this call to one of your existing research runs. Defaults to this session's most recent unfinished run.
versionHashesNo
mcpIdempotencyKeyNoUnique key for this logical action. Reuse it only when retrying the same arguments. Required for hosted trust-creating actions when no idempotency header is supplied.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior2/5

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

The annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds no behavioral details beyond a generic compare statement—no output shape, ordering, defaults, or side-effect context. It does not contradict the annotations, but it adds no beyond-annotation value.

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 sentence with no filler. The main action is front-loaded, and the purpose clause adds useful context without redundancy.

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 five optional parameters, no output schema, and only a one-line description, the agent is left to guess at parameter semantics and the nature of the comparison result. The annotations cover safety, but not input meaning or expected output, leaving a significant information gap.

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 40%, leaving topN, caseStudyId, and versionHashes undocumented in the schema. The description only loosely hints at 'case-study trials' and 'strategy variants' but does not explain what these parameters mean, how they interact, or what topN limits. It fails to compensate for the low schema coverage.

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 ('case-study trials or strategy variants') and a purpose ('before drawing a research conclusion'). It also stands apart from the many sibling analyze_* tools by naming a distinct comparison action.

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?

It gives a clear temporal usage context: use this before drawing a research conclusion. However, it does not explicitly state when not to use it or mention alternative tools, so it lacks exclusion guidance.

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