Skip to main content
Glama

Update company role

update_company_role
Idempotent

Rename or restyle a role type. Changing role_key is allowed but breaks agents referring to the old slug.

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": {
      "role_id": "<role_id>"
    },
    "name": "update_company_role"
  }
}

Input Schema

NameRequiredDescriptionDefault
colorNo
role_idYes
label_deNo
label_enNo
role_keyNo
sort_orderNo
descriptionNo

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?

Annotations already declare that this is a non-read-only but idempotent and non-destructive update. The description adds genuine behavioral context beyond them: mutating role_key silently breaks agents that reference the old slug, which is exactly the kind of downstream consequence an agent cannot get from structured fields. It does not state partial-update semantics or permission requirements, but the key risk is disclosed.

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 tight sentences with no filler, and the risk warning follows immediately after the purpose statement. Only minor ambiguity: "restyle" is a loose umbrella for color/label/sort_order without mapping to those fields.

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?

Annotations carry the safety profile and no output schema is needed, but with 7 undocumented parameters and no output description, the definition leaves the agent guessing on most of the editable surface. It is adequate for the role_key hazard but not for the tool as a whole.

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 7 parameters, so the burden is entirely on the description, and it only explains role_key and role_id implicitly. color, label_de, label_en, sort_order and description are left completely undefined — an agent cannot tell what shape a label or sort order should take.

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 names a specific verb pair ("rename or restyle") and a clear resource ("a role type"), which is enough to separate it from create_company_role, delete_company_role and list_company_roles. It does not explicitly name any sibling, but the mutating scope is unambiguous.

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 only implied by the verb: it is evidently the edit path for an existing role, and the warning about role_key implies you should only change it deliberately. There is no explicit when-to-use vs. create_company_role or the grant/tender role variants, so the agent must infer selection from names alone.

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