Skip to main content
Glama

Revoke external contract link

clm_revoke_contract_share
Destructive

Revoke an external link after explicit user approval and return its updated state. Requires contract manage access. Existing downloaded copies remain with recipients. If the outcome is unknown, use clm_list_contract_shares before retrying.

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": {
      "id": "<id>",
      "shareId": "<shareId>",
      "approved": "<approved>"
    },
    "name": "clm_revoke_contract_share"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesContract ID
shareIdYesShare link ID
approvedYesUser explicitly approved this action

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

The annotations already declare destructiveHint=true, openWorldHint=true, and idempotentHint=false, and the description adds meaning beyond them: recipients keep already-downloaded copies, manage-level authorization is required, and unknown outcomes must be verified rather than blindly retried. These are exactly the side-effect and irreversibility details an agent needs before firing a destructive call.

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?

Four short sentences, front-loaded with the action and the approval gate, then authorization, residue, and recovery in descending priority. Every sentence carries distinct information with no repetition of the name or title.

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 three-parameter destructive operation with no output schema, the description covers the approval gate, permission requirement, irreversible side effect, and retry recovery path. The only soft spot is the vague "return its updated state," which does not tell the agent what the success payload contains.

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%, so contract ID, share link ID, and the const-true approved flag are already documented; the description reinforces the approval requirement but adds no new syntax or format detail. Baseline 3 is appropriate when the schema carries the parameter burden.

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?

The description opens with a specific verb and resource ("Revoke an external link") and names the resulting state change, which distinguishes it cleanly from siblings like clm_create_contract_share and clm_list_contract_shares. An agent can identify this as the destructive counterpart to share creation without inspecting 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?

It states a precondition ("after explicit user approval"), an access requirement ("contract manage access"), and routes the agent to clm_list_contract_shares when the outcome is unknown before retrying. That is concrete usage context, though it stops short of saying when a caller should prefer revocation versus other share-management options.

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.