Skip to main content
Glama

evaluate_task

Score the latest successful execution of every role on a task from durable, rule-based evidence—no new LLM call—and store results as side records without changing task state.

Instructions

Score the latest successful execution of every role on this task from already-durable evidence (rule-based arithmetic; never a new LLM call). Requires evaluation_engine enabled (ccc-mcp config evaluation-engine on). Skips a role already evaluated for its latest execution; use reevaluate_execution to force a fresh version of one specific execution. Never changes the task's own state — purely a side record. Read the results with get_task_evaluations.

Input Schema

NameRequiredDescriptionDefault
roleNoOnly score this role's latest execution, for example REVIEW. Omit for every role.
task_idNoTask id. Omit it to use the project's current workstream task, which is what you want almost always; pass it only to look up a historical task.
task_typeNoFree-form label that groups scores for get_agent_reliability, for example 'bugfix' or 'feature'. Default 'general'.general
project_idYesRegistered project id, as returned by list_projects.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.1.3
    • addedInput schema / properties / project_id / description
      Added value: +"Registered project id, as returned by list_projects."
    • addedInput schema / properties / role / description
      Added value: +"Only score this role's latest execution, for example REVIEW. Omit for every role."
    • addedInput schema / properties / task_id / description
      Added value: +"Task id. Omit it to use the project's current workstream task, which is what you want almost always; pass it only to look up a historical task."
    • addedInput schema / properties / task_type / description
      Added value: +"Free-form label that groups scores for get_agent_reliability, for example 'bugfix' or 'feature'. Default 'general'."
  2. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false, destructiveHint=false, openWorldHint=false, so the description carries most of the load — and it does well: no new LLM call, config-flag prerequisite, idempotent skipping of already-scored roles, and 'never changes the task's own state — purely a side record'. The only minor gap is that it doesn't say what happens when the engine is disabled (error vs no-op).

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?

Front-loaded with the core action and mechanism, and each subsequent sentence carries a distinct, useful fact (prerequisite, skip behavior, alternative tool, state safety, result retrieval). Slightly dense with parenthetical asides and odd line wrapping, but no sentence is filler.

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

Completeness5/5

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

Output schema exists, so return values need no explanation, and the description still points to get_task_evaluations for reading results. Combined with the prerequisite, idempotency, and state-safety notes, an agent has everything needed to invoke this correctly against a 4-parameter, non-read-only side-effect tool.

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 description coverage is 100%, so role, task_id, task_type and project_id are already fully documented in the schema, including the 'omit for current workstream task' default. The description reinforces 'every role' for the role parameter but adds no syntax or format meaning beyond the schema, so baseline 3 applies.

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?

States a specific verb and resource ('Score the latest successful execution of every role on this task') and immediately constrains the mechanism ('rule-based arithmetic; never a new LLM call'). It is clearly distinguishable from the sibling reevaluate_execution (single forced re-score) and get_task_evaluations (reads the results).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit when-to-use and when-not-to-use guidance: it skips roles already evaluated for their latest execution, and reevaluate_execution is named as the alternative when a fresh version is wanted. It also states the prerequisite that evaluation_engine must be enabled, including the exact config command.

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