Skip to main content
Glama

Samuelz® Agent

Create shared role work

create_work_order
Idempotent

Create an internal work order for a defined role. It records intended work only: no business execution, spending, sending, or permission expansion. POST /api/v1/tenant/write/create_work_order.

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>",
      "requestKey": "<requestKey>"
    },
    "name": "create_work_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleNo
goalIdNo
roleKeyYes
requestKeyYes
expectedResultNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

The annotations already declare a non-destructive mutation that is idempotent; the description adds genuinely new behavioral context by stating the record captures intended work only and performs no execution, spending, sending, or permission escalation. It also discloses the concrete endpoint, which helps an agent reason about the call. It does not explain replay/idempotency semantics even though the annotation claims idempotency.

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, front-loaded sentences plus the endpoint path; the scope-limiting clause is placed immediately after the purpose. Slightly telegraphic phrasing, but no wasted sentences.

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 mutation tool with no output schema and zero parameter documentation, the description adequately covers what the tool is and is not, but leaves the agent guessing about the fields to supply and what a repeated requestKey returns. It is complete on intent, incomplete on mechanics.

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 five parameters, so the description carries the full burden, and it only gestures at roleKey with "for a defined role." Nothing explains requestKey's idempotency role, goalId linkage, expectedResult, or title — the agent must infer all of it from names and JSON constraints.

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 gives a specific verb and resource ("Create an internal work order for a defined role") and scopes it as recording intent only. It is distinguishable from mutation siblings such as create_task_entry by the work-order framing, though it never names those siblings to sharpen the boundary.

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 the negative constraints ("no business execution, spending, sending, or permission expansion"), which tells the agent when this tool is NOT the right vehicle for an action. There is no explicit statement of when to prefer this over create_task_entry or the accept/assign work-order siblings.

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