Skip to main content
Glama

revoke_org_grant

Revoke an active billing grant on an org (platform-admin only). Never deletes history; it flips the grant to revoked and reverts its effect. Mirrors DELETE /v1/admin/orgs/{org_id}/grants/{grant_id}.

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": {
      "org_id": "<org_id>",
      "grant_id": "<grant_id>"
    },
    "name": "revoke_org_grant"
  }
}

Input Schema

NameRequiredDescriptionDefault
org_idYes
grant_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

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?

With no annotations supplied, the description carries the full burden and does meaningful work: it discloses the authorization requirement (platform-admin only), clarifies this is a soft state flip rather than a deletion ('never deletes history'), and explains the effect ('reverts its effect'). It omits idempotency/error behavior when the grant is already revoked or the ID is unknown.

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?

Three short sentences, front-loaded with the action and scope, followed by behavior and an API mapping. Every sentence adds information; nothing is redundant.

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?

An output schema exists, so return values need not be described, and the description covers the mutation's nature, authorization, and non-destructive semantics. What remains missing is failure-mode behavior (already revoked, not found, permission denied), which matters for a mutation tool without annotations.

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 should compensate for two bare uuid parameters. It does add one useful constraint by implying grant_id must reference an *active* grant, but it gives no guidance on where org_id/grant_id come from or any lookup path, leaving the bulk of parameter meaning to the schema titles.

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?

States a specific verb+resource pair ('Revoke an active billing grant on an org') and scopes it with the platform-admin qualifier, which cleanly separates it from sibling grant-creation tools like grant_org_comp and read-only list_org_grants.

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 gives clear context for use: the grant must be 'active' and the caller must be a platform admin. It stops short of naming alternatives (e.g., use list_org_grants to obtain a grant_id) or stating what to do when the grant is already revoked, so guidance is strong but not complete.

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