Skip to main content
Glama

Run benchmark

run_benchmark
Destructive

Start billed asynchronous execution and scoring of a benchmark. Requires owner, a benchmark-enabled plan and a judge; a verified reference is also required except for sample generation. Supply model_keys or providers; omitting both runs all active models with usable provider keys. Repetitions and judging increase cost. Returns job_id and total_models: poll get_job_status, then read get_benchmark_scenario_results. Re-running replaces each selected model's previous result. An organization's benchmark runs and scoring passes execute one at a time: a launch while another is in flight is queued (queue_position, status 'pending'), and a launch on a scenario whose run is still queued folds its models into that run (merged=true, job_id names the queued run). Reference setup and score interpretation: 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>"
    },
    "name": "run_benchmark"
  }
}

Input Schema

NameRequiredDescriptionDefault
providersNoProvider names (e.g. ['anthropic', 'mistral']) — runs every active model of those providers that has a valid key.
model_keysNoExplicit model composite keys. Overrides `providers`.
scenario_idYesUUID of the scenario to run.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Beyond the annotations, it discloses billing, asynchronous execution, prerequisite permissions/plan/judge/reference, cost sensitivity to repetitions and judging, replacement of previous results, and one-at-a-time queueing with merge semantics. These are material behaviors an agent needs before invoking a destructive, open-world launch.

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 dense but front-loaded: it starts with the action and billing/async nature, then covers prerequisites, selection, cost, follow-up tools, replacement, queueing, and documentation. Each sentence carries operational information, and there is no filler.

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?

For a complex, billed, destructive, open-world asynchronous launch, the description covers prerequisites, selection defaults, cost implications, return IDs, polling sequence, replacement behavior, and queue/merge edge cases. An output schema exists, so it need not enumerate return fields, and the docs pointer covers reference setup and score interpretation.

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 schema already documents each parameter, including that model_keys overrides providers. The description adds useful selection semantics not fully captured there: supply model_keys or providers, and omitting both runs all active models with usable provider keys.

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 opens with a specific verb and resource ('Start billed asynchronous execution and scoring of a benchmark') and frames it as billed asynchronous work. It routes subsequent steps to get_job_status and get_benchmark_scenario_results, so the agent can distinguish launching from polling or reading sibling tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It states prerequisite conditions (owner, benchmark-enabled plan, judge, verified reference except for sample generation) and model-selection rules (model_keys or providers, or all active models if neither is supplied). It also names the correct follow-up tools and explains re-run replacement and queue/fold behavior, giving explicit guidance on when and how to launch.

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.