Skip to main content
Glama

Delete project model grant

grant_models_delete
DestructiveIdempotent

Revokes a project's model grant, removing access to a configured model for new launches and active agents on their next call while retaining the model.

Instructions

Removes the project's access to the configured model. The grant is live policy: new launches can no longer select the model, and agents already using it lose access on their next model call. The model 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": {
      "modelGrantID": "<modelGrantID>",
      "orgID": "<orgID>",
      "projectID": "<projectID>"
    },
    "name": "grant_models_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
orgIDYesOrganization ID (org_...).
projectIDYesProject ID (proj_...).
modelGrantIDYesProject model grant ID (pmog_...).

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 / modelGrantID / description
      Added value: +"Project model grant ID (pmog_...)."
    • 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.1/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false, so the safety profile is covered; the description adds real value beyond that by explaining the live-policy effect (in-flight agents lose access on their next model call), stating that the model is retained, and confirming there are no dependency blockers. It does not cover permissions/authorization requirements or reversibility beyond idempotency, so it falls short of a 5.

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 with zero waste; the core action is front-loaded and the consequences and non-consequences are ordered logically after it. Every sentence earns its place by adding behavioral information the reader could not get elsewhere.

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, non-open-world delete with a complete input schema and an output schema that covers return values, the description supplies everything an agent needs to call it correctly: what is removed, what is preserved, and the immediate downstream effect. Nothing material 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?

All three parameters are fully documented in the schema (100% coverage) with regex patterns, so the description need add nothing. It offers no additional meaning about orgID, projectID or modelGrantID, which is acceptable at this coverage level — baseline 3.

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 configured model) and immediately distinguishes itself from a plain model deletion by noting 'The model itself is retained' — a key contrast with the models_delete sibling. An agent can tell exactly what is being destroyed: the grant, not the model.

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 by the consequence description ('new launches can no longer select the model'), which signals this is a policy-changing action, but there is no explicit when-to-use guidance and no named alternative such as grant_models_edit for changing a grant or grant_models_list for inspecting it before removal. Adequate but leaves routing to inference.

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