Skip to main content
Glama

eval_case

Add a finished run to a dataset as a case with what it should have done, list a dataset's cases with their last result, or delete a case. A case reads the run's stored trace when scored.

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": {
      "action": "<action>"
    },
    "name": "eval_case"
  }
}

Input Schema

NameRequiredDescriptionDefault
labelNoadd: short note on what this case guards
actionYesWhat to do
expectNoadd: expectations. outcome: {status: completed|failed|cancelled, result_contains: [..], result_excludes: [..], require_error: bool}; trajectory: {tools_prefix: [..], tools_include: [..], tools_forbid: [..]}
run_idNoadd: a finished agent run to learn from
case_idNodelete: case UUID
dataset_idNoadd/list: dataset UUID

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/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 disclosure burden. It does add real behavioral context: a case references the run's stored trace rather than copying it, and add requires a finished run. It does not disclose that delete is irreversible, whether deletion cascades to results, whether list paginates, or any auth/rate-limit constraints.

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?

Two sentences, both front-loaded with the actionable content: the three operations first, then the single most consequential behavioral fact about how cases are scored. No restatement of the name, no filler, and a reader can stop after sentence one and still act correctly.

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 described, and all six parameters are covered by the schema. For a three-action tool the description covers the actions and the scoring model adequately; only delete's destructive semantics and list's result shape/pagination are unspecified.

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?

Schema coverage is 100%, so every parameter including the expect sub-fields and the action enum is already documented. The description's phrasing ('as a case with what it should have done') loosely maps expect to expectations, but adds no format detail beyond the schema. Baseline 3 applies when the schema does the heavy lifting.

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 three concrete verb+resource pairs: adding a finished run to a dataset as a case, listing a dataset's cases with their last result, and deleting a case. That is far more specific than the tool name 'eval_case' alone. It stops short of distinguishing itself from siblings like eval_dataset, but the actions named are unambiguous.

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?

Implied usage is clear from the verb list (use 'add' to promote a run into a case, 'list' to inspect, 'delete' to remove), and 'a finished agent run' gives one prerequisite for add. There is no explicit when-to-use versus eval_dataset or eval_run, and no stated prerequisites for list/delete (e.g. whether the dataset must exist or whether deleting a case affects prior scoring history).

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.