Skip to main content
Glama

grant

Approves a pending access request to a project or topic, letting authorized approvers admit requesters and notify them of the outcome by DM.

Instructions

Approve a pending access request (see grants). Only an approver for the target may: the human, or — per the target's [grants].approver policy — an agent in the asked-for project (for a project request) or an admitted member (for a topic). The requester is DM'd the outcome.

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": {
      "request_id": "<request_id>"
    },
    "name": "grant"
  }
}

Input Schema

NameRequiredDescriptionDefault
request_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations present, the description carries the full burden and does substantial work: it discloses the authorization model (the human, an agent in the asked-for project, or an admitted member per `[grants].approver` policy) and the observable side effect (the requester is DM'd the outcome). It omits failure behavior — e.g. what happens on an unauthorized or already-resolved call — and whether approval is reversible.

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?

Three short sentences with the action and its cross-reference front-loaded, followed by eligibility and the outcome notification. Dense but every clause carries information; only the policy parenthetical is slightly awkward to parse.

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 single-parameter mutation with no annotations and no output schema, the definition covers the key unknowns: who may call it, where the ID comes from, and what happens after approval. Missing only error/precondition handling for non-pending or unauthorized requests.

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 0% for the single `request_id` integer, so the description must compensate. It implies the ID must refer to a *pending* request and points at `grants` as the place to obtain it, but never states the format, source, or error behavior for an invalid ID.

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: "Approve a pending access request," and cross-references the `grants` tool that lists such requests. It is clearly distinct from `request` and, by implication, from `deny`, though the contrast with `deny` is never made explicit.

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?

It says the tool applies to a *pending* request and enumerates who is authorized to approve, which implicitly tells the agent when it may call it. It does not explicitly name `deny` as the alternative for rejection, nor state what to do if the caller lacks approver status or the request is no longer pending.

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