Skip to main content
Glama

baseline_lineage

Read-onlyIdempotent

Show which run is the published baseline for an evaluation and where its evidence came from. Use it before comparing a new run against the baseline. Returns the baseline run and version, a lineage summary, or not_found.

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": {
      "evaluationId": "<evaluationId>"
    },
    "name": "baseline_lineage"
  }
}

Input Schema

NameRequiredDescriptionDefault
evaluationIdYesEvaluation ID returned by evaluations_list in the authenticated organization. Accepts a positive safe integer or its canonical decimal string (e.g. 8 or "8").

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

The annotations already declare this as a read-only, idempotent, non-destructive, closed-world call, so the safety profile is covered. The description adds useful context the annotations don't: it discloses the returned artifacts (baseline run and version, a lineage summary) and the not_found outcome, which matters for handling the miss case. It could say more about what an empty lineage means, but this is well above the annotation baseline.

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?

Three short sentences, with the core purpose front-loaded, followed by the usage cue and the return shape. Nothing is redundant or padded.

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 one-parameter read tool with annotations and an output schema, the description covers purpose, timing, and the key return/not_found outcomes. Anything more (auth or org scoping) is already handled by the schema, so it is essentially complete.

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?

With a single parameter at 100% schema coverage, the schema fully documents evaluationId, including accepted integer/string forms and the source of the ID. The description adds no parameter-level meaning beyond that, so the 3 baseline applies.

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?

The description pairs a concrete verb ("Show") with a specific resource ("which run is the published baseline for an evaluation") and adds the lineage dimension. It is clearly distinct from siblings like evaluations_list or run_explain, though it never names an alternative explicitly.

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?

"Use it before comparing a new run against the baseline" gives clear sequencing context that tells the agent when to reach for it. It stops short of stating exclusions or naming the comparison tool it should precede, so it is strong but not fully explicit when/when-not 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