Skip to main content
Glama

Delete project machine grant

grant_machines_delete
DestructiveIdempotent

Revoke a project's access to a machine by grant ID. Stops dependent processes while keeping the machine intact; no dependency blockers remain.

Instructions

Removes the project's access to the machine. Processes that depended on the grant are stopped. The machine itself is retained, and there are no dependency blockers.

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": {
      "grantID": "<grantID>",
      "orgID": "<orgID>",
      "projectID": "<projectID>"
    },
    "name": "grant_machines_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
orgIDYesOrganization ID (org_...).
grantIDYesProject machine grant ID (pmg_...).
projectIDYesProject ID (proj_...).

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.10
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "description": "Empty on success: the operation returns no data.",
      +  "type": "object"
      +}
  2. Changed3 schema fields changedv0.1.1
    • addedInput schema / properties / grantID / description
      Added value: +"Project machine grant ID (pmg_...)."
    • addedInput schema / properties / orgID / description
      Added value: +"Organization ID (org_...)."
    • addedInput schema / properties / projectID / description
      Added value: +"Project ID (proj_...)."
  3. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, but the description goes further by disclosing the cascading side effect (dependent processes are stopped) and what survives (the machine), which annotations cannot express. It does not mention permission requirements or how the response reports the stopped processes, but the key behavioral risks are covered.

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, zero filler, with the core action first and the two most decision-relevant facts (processes stopped, machine retained) front-loaded. Every sentence earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive delete with three fully-described parameters and an output schema already covering return values, the description supplies exactly what structured fields cannot: blast radius, retained resources, and dependency safety. Nothing critical to correct invocation is missing.

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% and each of the three parameters (orgID, grantID, projectID) is documented with format patterns in the schema, so the description need not repeat them. It adds no syntax or relationship detail beyond the schema, which is the expected baseline.

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 and resource: 'Removes the project's access to the machine', and immediately clarifies that 'The machine itself is retained', which is the exact distinction an agent needs against the sibling machines_delete. The grant-scoped nature is unambiguous.

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?

Gives clear operational context for when revocation is safe: dependent processes are stopped and 'there are no dependency blockers', so no pre-cleanup is required. It stops short of explicitly naming alternatives (machines_delete or the grant_machines_add inverse), so no explicit when-not guidance is offered.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.