Skip to main content
Glama

Samuelz® Agent

Prüfung dokumentieren

review_task_entry
Idempotent

Only the authenticated holder of the accepted exact reviewer role may record a currently due task review. Read get_trigger_board first and supply its exact task version, definition hash, cycle and reviewer version. Outcome and evidence are immutable; one observation per occurrence, exact request replay. No assignment acceptance, work completion, business approval or external verification.

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": {
      "workId": "<workId>",
      "expectedVersion": "<expectedVersion>",
      "definitionHash": "<definitionHash>",
      "cycleIndex": "<cycleIndex>",
      "reviewRoleKey": "<reviewRoleKey>",
      "expectedReviewerVersion": "<expectedReviewerVersion>",
      "outcome": "<outcome>",
      "summary": "<summary>",
      "evidence": "<evidence>",
      "requestKey": "<requestKey>"
    },
    "name": "review_task_entry"
  }
}

Input Schema

NameRequiredDescriptionDefault
workIdYes
outcomeYes
summaryYes
evidenceYes
cycleIndexYes
requestKeyYes
reviewRoleKeyYes
definitionHashYes
expectedVersionYes
expectedReviewerVersionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true and destructiveHint=false; the description adds real value on top: an authorization precondition, immutability of outcome and evidence, one-observation-per-occurrence, and exact request replay semantics. It does not describe what happens on optimistic-concurrency failure (stale expectedVersion/expectedReviewerVersion), which is the main residual gap for a mutation tool.

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?

Three dense sentences with the authorization precondition front-loaded, then the required precursor and argument sourcing, then the behavioral guarantees and scope exclusions. No filler for a 10-parameter tool.

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 10-required-parameter mutation with no output schema, the description covers authorization, preconditions, immutability and idempotency reasonably well. It still leaves the caller guessing about evidence/summary formatting, concurrency-failure behavior, and what a successful call returns or enables.

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 0%, so the description has to carry parameter meaning and it only partially does: it maps expectedVersion (task version), definitionHash, cycleIndex (cycle), expectedReviewerVersion and implies reviewRoleKey and requestKey (idempotent replay). It says nothing about the distinction between summary and evidence, the evidence item shape, or the meaning of the outcome enum.

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+resource (record a task review) and scopes it tightly: 'only the authenticated holder of the accepted exact reviewer role' and 'currently due'. The closing clause explicitly names what the tool is NOT (assignment acceptance, work completion, business approval, external verification), separating it from siblings like accept_role_position and report_work_turn.

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?

Gives a hard prerequisite and required precursor tool: 'Read get_trigger_board first and supply its exact task version, definition hash, cycle and reviewer version.' It also implies when-not via the exclusion sentence. Missing only routing for edge cases such as stale versions or an already-recorded occurrence.

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.

Resources