Skip to main content
Glama

run_eval

Start an eval run to score recent calls against default and custom criteria using gpt-4o-mini. Requires Pro+ subscription and plaintext storage opt-in.

Instructions

Start a new eval run immediately (POST /v1/eval-runs). Scores the most recent N calls against the 5 default criteria (plus up to 8 custom criteria) using gpt-4o-mini. Pro+ only (Free gets 403); environments without OPENAI_API_KEY provisioned return 500 from the backend. Precondition: only calls with plaintext storage (the content-storage opt-in) ON are scored. With the opt-in OFF (the default) there are zero candidates and the run returns summary.scoredCount=0 with reason='no_plaintext_calls' (gating, not a failure). Cost: about $0.01 per run (20 calls x 5 criteria = 100 LLM calls); around 30 runs/month = $0.30 at founder-dogfood scale.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesFree-form run name (1-100 chars, e.g. 'weekly-prod-eval-2026-06-02')
labelNoLabel filter (substring match within tags). Omit = all calls.
recentCountNoNumber of calls to evaluate (1-20, default 10). The most recent N calls are passed to the judge.
idempotencyKeyNoOpaque key for retry dedup (UUID recommended, 64 char cap). Re-POSTing the same key within 60 minutes returns the existing run.
promptRegistryIdNoTarget prompt registry id (list_prompts.prompts[].id). Omit = ad-hoc run.
Behavior4/5

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

No annotations exist, so description carries full burden. Discloses mutating nature (POST), cost (~$0.01/run), scoring algorithm, and return behavior (summary with scoredCount and reason). Lacks mention of idempotency handling or full response structure, but adequate.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Single paragraph, dense but efficient. Front-loaded with the main action and endpoint. Could benefit from bullet points for preconditions, but still clear and concise.

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?

With 5 parameters, no output schema, and important preconditions, the description covers almost everything: failure modes, costing, preconditions, and partial return structure. Missing full response shape but sufficient for agent to invoke correctly.

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% with good descriptions. The tool description adds context linking parameters to behavior (e.g., recentCount defines how many calls, label as substring filter, idempotencyKey for dedup). Adds value beyond schema.

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?

Clearly states the verb (Start a new eval run immediately), resource (eval-runs via POST), and what it does (scores recent calls against default and custom criteria). Distinct from siblings like compare_eval_runs or run_eval_dataset.

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?

Provides explicit conditions: Pro+ only, needs OPENAI_API_KEY, requires plaintext storage opt-in. Gives failure modes (403, 500, zero scored). Does not explicitly contrast with run_eval_dataset, but context is strong.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/argosvix/mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server