Skip to main content
Glama

Edit an AI employee

update_employee
DestructiveIdempotent

Replace employee settings; role is immutable. 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>",
      "employee": "<employee>"
    },
    "name": "update_employee"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / employee / properties / role / enum
      Previous value: -[
      -  "support",
      -  "sales",
      -  "smm",
      -  "accounting",
      -  "copywriter",
      -  "marketplace"
      -]New value: +[
      +  "leadhunter",
      +  "support",
      +  "sales",
      +  "smm",
      +  "accounting",
      +  "copywriter",
      +  "marketplace"
      +]
  2. First observed

TDQS

A4.1/5.0
Behavior5/5

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

The annotations only flag it as destructive, write, idempotent, and open-world. The description adds substantial context not in the annotations: the call returns awaiting_confirmation plus an approval_url, no work begins before owner approval, and the exact same request_id must be reused for the retry. Consistent with idempotentHint and destructiveHint, with no contradiction.

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?

Three short sentences lead with the most important constraint (replace, role immutable), then move through the approval outcome to the retry rule. "Retry with the SAME request_id" and "Reuse request_id on retries" say nearly the same thing, a minor redundancy that costs a little space.

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?

For a destructive, nested-object mutation with no output schema, the definition explains the return payload (awaiting_confirmation, approval_url) and the approval and retry loop, which is what an agent most needs. It stops short of describing how the seven required employee fields are replaced, though the schema covers them.

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 coverage is 33%, so the schema already defines the request_id's purpose and constraints. The description adds real meaning only for employee.role (immutable) and reinforces the request_id retry semantics. It says nothing about employee_id or about the nested settings object as a whole, so it only partly compensates for the coverage gap.

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?

"Replace employee settings" gives a specific verb (replace, not patch) and resource, and adds the critical constraint that role is immutable. That single clause separates it from update_agent and update_business, since an agent knows this rewrites all employee settings but cannot change the role.

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?

It clearly describes the approval workflow and the retry rule, so an agent knows what to do after a call returns awaiting_confirmation. It does not say when to use this tool versus hire_employee, archive_employee, or update_agent, so the choice between tools is only implied by the word "replace."

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.