Skip to main content
Glama

run_evaluation

Runs a shared workspace question set through configured retrieval and reranking, then saves a durable batch for evaluation. Returns passage results without synthesizing answers or judging correctness.

Instructions

Run a shared workspace question set sequentially through engine retrieval and save a durable batch. Uses configured embedding/reranking providers; no answer synthesis. Passage counts are not correctness judgments.

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": {
      "workspace_id": "<workspace_id>"
    },
    "name": "run_evaluation"
  }
}

Input Schema

NameRequiredDescriptionDefault
source_idsNo
workspace_idYes
question_revisionNo
workspace_revisionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false, and openWorldHint=true, and the description adds genuine context beyond them: sequential execution, a durable batch is saved, configured embedding/reranking providers are used, and no answer synthesis occurs. The 'passage counts are not correctness judgments' caveat is a useful semantic warning. It stops short of noting cost, latency, or re-run behavior for a non-idempotent tool.

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?

Three tight sentences with the core action front-loaded and the caveats trailing. 'Save a durable batch' is slightly opaque about what a batch contains, but no sentence is wasted.

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?

With no output schema, the description should say what the caller receives back (a run id, a batch reference, counts), and it does not. Combined with undocumented parameters, an agent knows what the tool does but not how to call it precisely or what to expect in return.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across four parameters, so the description carries the full burden, yet it only loosely gestures at a workspace question set. source_ids, question_revision, and workspace_revision are never explained, and the 1-500 source_ids bound is left entirely to the schema.

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 uses a specific verb and resource: run a shared workspace question set through engine retrieval and persist a durable batch. That clearly separates it from read-oriented siblings such as get_evaluation_runs or get_evaluation_answers, though it never names an alternative explicitly.

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?

Usage is implied by 'run a shared workspace question set' and the note that it saves a durable batch, so an agent can infer this is the execution step in the evaluation workflow. However, there is no explicit when-to-use versus query_knowledge_base or search_workspace, and no stated prerequisites or exclusions.

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