Skip to main content
Glama

Delete company role

delete_company_role
DestructiveIdempotent

Delete a role type. Refused while it is still assigned anywhere — reassign those first; the error reports how many assignments block it.

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": "delete_company_role"
  }
}

Input Schema

NameRequiredDescriptionDefault
role_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false, so the bar is lower. The description still adds genuine behavioral context the annotations lack: the operation is conditionally refused while assignments exist, and the failure surface is described (error reports the blocking assignment count). It does not mention permanence of the delete or permission requirements, keeping it from a 5.

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?

Two short sentences, front-loaded with the action and immediately followed by the blocking condition. No filler, no repetition of the title or schema.

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 single-parameter destructive tool with no output schema, the definition covers action, precondition, remediation path and error behavior. What remains unstated (permissions, whether the role could be recreated) is minor against annotations that already flag destructiveness.

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 0%, so the description would ideally clarify role_id. It doesn't name the parameter, but "delete a role type" plus a single required string role_id makes the mapping essentially unambiguous. Adequate rather than additive.

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?

"Delete a role type" pairs a specific verb with the resource being removed, which cleanly separates it from the create_/update_/list_company_role siblings. An agent can tell what this destroys without opening the schema.

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?

The description states a hard precondition for use (must be unassigned everywhere) and instructs the agent to reassign first, which is real routing guidance toward the assign/unassign/update_*_company_role siblings. It stops short of naming those alternatives explicitly, but the when-to-use condition is clear.

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