Skip to main content
Glama

benchmark

Test models with five coding challenges and return pass/fail scores to catch hallucinated answers, ignored instructions, or garbled output before selecting a model.

Instructions

Quality-test models with 5 coding challenges and return pass/fail scores.

Runs arithmetic, instruction following, code generation, code reasoning, and JSON output challenges. Catches models that are fast but hallucinate, ignore instructions, or produce garbled output.

Without model_id, scans for the fastest models and benchmarks the top N.

Args: model_id: Specific model to benchmark (optional) provider: Limit to a specific provider (nvidia, groq, etc.) min_tier: Minimum quality tier when auto-selecting (default "A") count: How many models to benchmark when auto-selecting (default 3)

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "benchmark"
  }
}

Input Schema

NameRequiredDescriptionDefault
countNo
min_tierNoA
model_idNo
providerNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.15.1
    • addedInput schema / additionalProperties
      Added value: +false
  2. First observedv0.7.0

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It discloses the internal workload and the auto-selection fallback, which is genuinely informative, but it says nothing about cost or credit consumption (notable in a catalog that exposes a credits tool), runtime, API-key prerequisites, or whether results persist. Those omissions matter for a tool that runs five model calls per candidate.

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 the five challenges, followed by the value statement and the auto-selection rule, then a clean Args list. Every sentence adds information; nothing is padding or marketing filler.

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?

An output schema exists, so return values need not be explained, and the description covers what runs, what the results mean, and how the two operating modes differ. What is missing is operational context: expected duration, cost, and required credentials for a tool that may benchmark several models per call.

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 description coverage is 0%, so the description must carry parameter meaning and largely does: model_id is the specific model, provider limits to a named provider with examples, min_tier is the minimum quality tier used during auto-selection, and count is how many models are benchmarked in that mode. Defaults are restated rather than supplemented, and the min_tier value vocabulary ('A') is not explained, which holds it at 4.

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 and resource ('Quality-test models') and enumerates exactly what is tested: arithmetic, instruction following, code generation, code reasoning, and JSON output. It also gives the purpose beyond the mechanics ('catches models that are fast but hallucinate'). It does not differentiate itself from nearby siblings such as quality_probe or evaluate, which keeps it out of the top band.

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?

Provides one mode-selection rule: with no model_id it scans for the fastest models and benchmarks the top N, controlled by count and min_tier. That is useful conditional guidance for parameter choice, but there is no statement of when to prefer this over the other evaluation siblings or when it is unnecessary.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.