Skip to main content
Glama

run_test

Compare document-processing systems on a public test set or your own documents, preview costs and blockers, then confirm to score results against answer keys and generate an HTML citation report.

Instructions

Compare systems on a public test set (set_id) or on the user's own documents (folder + schema_path, and answers_folder with .json answer keys if they have them). Scored by code against the answer key.

With confirm=false (the default) nothing is spent: it returns the plan (documents, pages, rough cost per
system, systems that cannot run and why). Ask the user, then call again with confirm=true to run it. Returns
the scores per system and the path of an HTML report with a citation viewer for every document.

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": "run_test"
  }
}

Input Schema

NameRequiredDescriptionDefault
outNo
limitNo
folderNo
set_idNo
confirmNo
systemsNo
budget_usdNo
schema_pathNo
answers_folderNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.4.6

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses that confirm=false spends nothing and returns a plan (documents, pages, rough cost, systems that cannot run and why), and that a confirmed run returns per-system scores plus an HTML report path with a citation viewer. It omits permission/auth requirements and how budget_usd actually constrains a run.

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?

Two paragraphs, front-loaded with the two modes followed by the confirm protocol; almost every sentence carries information. The parenthetical detail about answer keys is dense but earns its place.

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

Completeness3/5

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

For a 9-parameter, annotation-free, potentially costly tool this covers the critical confirm-safety flow and the two input modes, and the output schema removes the need to explain return values. However, out, limit, systems, and budget_usd are never given meaning, leaving real gaps before an agent can call it confidently.

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 0% for 9 parameters, so the description must compensate. It explains set_id, folder, schema_path, answers_folder (including the '<file stem>.json' answer-key convention) and confirm, but leaves out, limit, systems, and budget_usd, so roughly four parameters remain undocumented anywhere.

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?

The description states a specific verb and resource ('Compare systems on a public test set ... or on the user's own documents') and adds that scoring is done by code against an answer key. It is clear what the tool does, though it never names its siblings (list_test_sets, extract_fields, parse_document), so differentiation is left implicit.

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?

It gives concrete when-to-use branching: set_id for the public set versus folder + schema_path (+ answers_folder) for the user's own documents, and an explicit two-step protocol with confirm=false first, ask the user, then confirm=true. No exclusions or named alternatives, so it stops short of a 5.

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

Deploy Server

Other Tools