Skip to main content
Glama

Set benchmark reference

set_benchmark_reference
Destructive

Save the gold reference for an enrichment or schema-generation benchmark. Only set reference_verified=true after checking its values against trusted evidence or obtaining human sign-off; a generated answer alone is not verification. Schema-generation references must be GeneratedJsonSchema objects. Sample-generation scenarios reject references because they are rubric-scored. Requires owner and a plan with benchmarks; no LLM call. A verified reference enables run_benchmark. See enricher://docs/model-benchmark.

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": {
      "scenario_id": "<scenario_id>",
      "reference_output": "<reference_output>"
    },
    "name": "set_benchmark_reference"
  }
}

Input Schema

NameRequiredDescriptionDefault
sourceNoProvenance: generated | pasted | record (default 'pasted').
scenario_idYesUUID of the scenario.
reference_outputYesExpected entity JSON for enrichment, or a schema document for schema_generation. Sample-generation scenarios do not accept a reference.
source_record_idNoRecord UUID the reference was copied from (when source='record').
reference_verifiedNoExplicit sign-off that the reference is correct (required to run).

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations cover the safety profile (destructiveHint=true, not read-only), and the description adds real context beyond them: the verification requirement, the GeneratedJsonSchema constraint, the sample-generation rejection, the owner/plan prerequisite, and that no LLM call is made. It stops short of saying what happens to a previously stored reference (overwrite semantics), which matters for a destructive tool.

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?

Front-loaded with the action and resource, then packed with constraints in dense declarative sentences. Every sentence carries a distinct rule (verification, schema type, scenario rejection, prerequisites, downstream effect) and none is filler, though the doc URI at the end is a minor tack-on.

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

Completeness5/5

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

With a 5-parameter schema at full coverage, an output schema, and destructive annotations, the description supplies the remaining gaps an agent needs: verification discipline, scenario-type restrictions, prerequisites, and the effect on run_benchmark. Nothing critical to invoking it correctly is missing.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3; the description still adds meaning by explaining the verification semantics of reference_verified and constraining reference_output for schema-generation scenarios to GeneratedJsonSchema objects. The source='record' and source_record_id relationship remains schema-only, but the key contested parameter is clarified.

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?

States a specific verb ('Save') and resource ('gold reference for an enrichment or schema-generation benchmark'), and the scope boundaries ('Sample-generation scenarios reject references') let an agent tell it apart from create_benchmark_scenario and run_benchmark. No ambiguity about what the tool does.

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?

Explicitly says when to set reference_verified=true (checked against trusted evidence or human sign-off) and when not to (a generated answer alone), and names run_benchmark as the downstream consumer. It also rules out sample-generation scenarios and states prerequisites (owner, plan with benchmarks), though it doesn't point to revert_benchmark_reference_updates for undoing a bad reference.

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.