Skip to main content
Glama

AI Source of Truth Evidence Rooms

Revoke an invite

revoke_invite

Revoke an invite. If the person already accepted it, their access to the case ends too. Logged. Scope: cases:write. REST twin: POST /api/cases/:id/invites/:inv/revoke. Errors: unauthorized, insufficient_scope, not_found, forbidden, consent_required, read_only, validation_error.

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": {
      "case_id": "<case_id>",
      "invite_id": "<invite_id>"
    },
    "name": "revoke_invite"
  }
}

Input Schema

NameRequiredDescriptionDefault
case_idYesThe case id (cas_...).
invite_idYesThe inv_ id from invite.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false and openWorldHint=false; the description goes well beyond that by disclosing the accepted-invite cascade, that the action is logged, the required scope (cases:write), and the full error surface including consent_required and read_only. That is substantial behavioral context an agent cannot get from the annotations or schema.

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?

Front-loaded with the action and its main side effect, then scope, twin endpoint, and errors in a compact telegraphic style. The error enumeration is dense but each token is actionable; nothing is redundant boilerplate.

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 two-parameter mutation with no output schema, the definition covers side effects, logging, authorization scope, and failure modes, which is enough to call it safely. The only minor gap is no indication of what a successful response returns, which the absence of an output schema makes low-stakes.

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 100% and both parameters are already documented with their cas_/inv_ id formats, so the description adds little parameter-specific meaning. The scope and REST-twin line give useful context for constructing the call but not new semantics for the two fields.

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 ('Revoke an invite') and adds the consequential detail that revoking an already-accepted invite ends the person's case access. It is distinguishable from the sibling 'invite' tool by verb alone, though it never explicitly contrasts the two.

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 implied rather than stated: an agent can infer this is the tool for undoing an invite, and the cascade note hints at the accepted-invite scenario. There is no explicit when-to-use/when-not-to-use guidance and no named alternative for adjacent operations such as key revocation.

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