Skip to main content
Glama

Run an employee task

run_employee_task
DestructiveIdempotent

Create a supported employee draft. Costs 1 shared credit. The result is not sent, filed or published. Query list_employee_tasks after completion. Returns awaiting_confirmation and an approval_url: the owner must approve these exact parameters in Cormak, then retry with the SAME request_id. No work starts before approval. Reuse request_id on retries.

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": {
      "request_id": "<request_id>",
      "employee_id": "<employee_id>",
      "kind": "<kind>",
      "brief": "<brief>"
    },
    "name": "run_employee_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYes
briefYes
localeNo
request_idYesStable UUID for this exact operation. Reuse on retries. Never change it to retry an unknown result.
employee_idYes
revision_ofNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=true, idempotentHint=true), it discloses cost (1 shared credit), side-effect boundary (nothing sent, filed, or published), the two-phase approval gate ('No work starts before approval'), and the exact retry contract with request_id. That is precisely the context an agent needs before invoking a mutating, approval-gated operation.

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?

The critical facts (cost, no publish, approval gate, retry contract, follow-up call) are front-loaded and each sentence carries information. The request_id instruction is restated three times ('retry with the SAME request_id', 'Reuse request_id on retries', plus the schema text), which is slightly redundant but defensible emphasis for an idempotency contract.

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

Completeness4/5

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

With no output schema, the description correctly explains the return shape (awaiting_confirmation and approval_url) and the required human step. It still leaves the semantics of required inputs like kind and brief undefined for a tool with a 6000-character free-text field, which is a meaningful gap for invocation correctness.

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 only 17% across 6 parameters, so the description must carry the burden, and it only deepens request_id (reuse on retries, never change it). kind, brief, employee_id, locale, and revision_of receive no explanation in either place, leaving what a 'supported employee draft' accepts unclear.

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 ('Create a supported employee draft') and clarifies the scope ('not sent, filed or published'), which separates it from send/publish-style tools. It does not explicitly contrast itself with the sibling run_task or approve_employee_task, so an agent must infer which runner to pick.

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?

It gives concrete sequencing guidance: query list_employee_tasks after completion, and after receiving awaiting_confirmation, have the owner approve the exact parameters then retry with the same request_id. What is missing is guidance on when to choose this over the generic run_task, and no explicit when-not-to-use condition.

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.