Skip to main content
Glama

set_evaluation_label

Idempotent

Mark a retained passage as relevant or irrelevant, or clear its judgment for evaluation, requiring the current label revision to keep results consistent.

Instructions

Mark one retained passage relevant or irrelevant, or clear its judgment. Requires the latest label revision.

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>",
      "batch_id": "<batch_id>",
      "revision": "<revision>",
      "run_id": "<run_id>",
      "rank": "<rank>",
      "label": "<label>"
    },
    "name": "set_evaluation_label"
  }
}

Input Schema

NameRequiredDescriptionDefault
rankYes
labelYes
run_idYes
batch_idYes
revisionYes
workspace_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare a non-read-only, idempotent, non-destructive write; the description adds the important optimistic-concurrency requirement (latest revision). It does not say what happens on a stale revision (error vs. overwrite) or clarify that clearing a label is a reversible write, which is the kind of detail only the description could carry.

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 short sentences with the action first and the precondition second; no filler. 'Retained passage' is unexplained jargon, which costs a little clarity but not length.

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

Completeness2/5

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

For a fully-required six-parameter mutation with no parameter documentation and no output schema, the description is too thin: an agent cannot tell what identifies a passage, what happens on failure, or how to obtain the required revision.

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 six required parameters. The description touches only the revision parameter and restates the label enum values; workspace_id, batch_id, run_id, and especially rank (how a passage is addressed) remain entirely unexplained in both schema and prose.

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: marking one retained passage relevant/irrelevant or clearing its judgment. That is concrete and distinguishable from the read-side siblings like get_evaluation_labels, though it never names an alternative to contrast with.

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?

The prerequisite 'Requires the latest label revision' is genuine usage context, telling the agent it must fetch current state before writing. However, there is no explicit when-to-use vs. when-not guidance and no pointer to the tool that supplies the revision.

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