Skip to main content
Glama

Samuelz® Agent

Auftrag übernehmen

accept_work_order
Idempotent

Explicitly accept one assigned work order using its role contract and current version. Assignment alone is not acceptance; acceptance is not completion. No business rights or effects.

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": {
      "roleKey": "<roleKey>",
      "workId": "<workId>",
      "expectedVersion": "<expectedVersion>",
      "requestKey": "<requestKey>"
    },
    "name": "accept_work_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
workIdYes
roleKeyYes
requestKeyYes
expectedVersionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/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 genuinely new behavioral context: acceptance is a distinct state transition, not assignment and not completion, and it explicitly states 'No business rights or effects', which prevents an agent from assuming an authorization grant occurs.

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 short, front-loaded sentences with no redundant wording. The key semantic boundary (assignment vs. acceptance vs. completion) is stated compactly before the effect disclaimer.

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 state-transition mutation with no output schema, the description conveys the workflow semantics well but leaves error behavior, the meaning of expectedVersion mismatches, and the purpose of requestKey unexplained. An agent could invoke it but would be guessing at two parameters and at failure modes.

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% and all four parameters are required, so the description carries the full explanatory burden. It obliquely maps 'role contract' to roleKey and 'current version' to expectedVersion, but workId and especially requestKey (the idempotency key) are never explained, leaving half the required inputs uninterpreted.

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 opens with a specific verb and resource ('Explicitly accept one assigned work order') and scopes it to a single item, which separates it clearly from bulk or assignment operations. It stops short of naming a sibling such as assign_work_order directly, so the differentiation is semantic rather than explicit.

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?

'using its role contract and current version' plus 'Assignment alone is not acceptance' establishes the precondition that the work order must already be assigned and that the caller must supply the role contract and current version. It does not spell out when-not to use it or name the alternative tool explicitly, so it falls short of a full when/when-not/alternatives statement.

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