Skip to main content
Glama

Revoke a role

revoke_role
DestructiveIdempotent

Removes an assignment at once; the last owner stays.

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": {
      "assignment": "<assignment>",
      "reason": "<reason>"
    },
    "name": "revoke_role"
  }
}

Input Schema

NameRequiredDescriptionDefault
reasonYesWhy (in the log).
assignmentYesThe assignment's id.
organizationNoThe organization.

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 destructive=true and idempotentHint=true, but the description adds two facts those flags do not convey: removal takes effect 'at once' (no staging or confirmation step) and the last owner assignment is protected from removal. What it does not cover is whether an error is returned when the guard blocks the call, or whether active sessions are invalidated.

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 compact clauses, front-loaded with the action and immediately followed by the exception. It could arguably say slightly more given the destructive nature, but nothing present is wasted.

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?

With a fully documented schema and annotations covering the safety profile, the definition is close to sufficient for this low-complexity tool. The remaining gap is procedural: no hint about confirming intent or recovering from a mistaken revoke.

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 100%, so assignment, reason, and organization are all documented in the schema itself. The description adds nothing about parameter formats or how to obtain an assignment id, so the baseline of 3 applies.

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?

States a specific verb and resource: 'Removes an assignment.' That is unambiguous about what changes, and it is plainly the inverse of the sibling grant_role without needing to name it. It stops short of explicitly routing the agent to grant_role for the opposite operation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance on when to use this tool, no prerequisite (e.g., needing to look up the assignment id first, or confirm intent), and no mention of when not to use it. The agent must infer everything from the verb and the annotations.

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