Skip to main content
Glama

request_access

Requests consent from another project or gated topic to send or listen, filing a directional access request for the target to approve or deny.

Instructions

Ask another project (or a gated topic) for consent to reach it — the deliberate alternative to accidental cross-project contact (issue #26).

kind is "project" or "topic"; capability is "send" (post/DM) or "listen" (subscribe/read). This files a directional request from YOUR project; the target decides. Routing follows the target's [grants].approver: "human" (default) notifies the human; "project" lets an agent there decide with grant/deny. The knock is announced to the target so someone can act on it. Poll grants for the outcome, or wait for the DM.

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": {
      "resource": "<resource>"
    },
    "name": "request_access"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNoproject
noteNo
resourceYes
capabilityNosend

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior5/5

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

With no annotations present, the description carries the full disclosure burden and does it well: the request is directional (from YOUR project), the target decides, approval routes through `[grants].approver` with 'human' (default) notifying the human or 'project' letting an agent there decide, and the knock is announced so someone can act. It also tells the agent the outcome is not returned inline but must be polled via `grants` or awaited as a DM.

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?

Front-loaded with the core action in the first clause, then structured by parameter meaning and by what happens afterwards. The parenthetical '(issue #26)' is internal-context noise of no use to an agent, and the backtick-heavy prose is dense, but nearly every sentence carries operational information.

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?

Given no annotations and no output schema, the description does the heavy lifting on the approval lifecycle, target-side routing, and result retrieval. What is missing is the shape/format of the required `resource` argument and what, if anything, is returned immediately on filing the request; those gaps keep it below 5.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate; it supplies the enum-like meanings missing from the schema for `kind` ('project' or 'topic') and `capability` ('send' for post/DM, 'listen' for subscribe/read), which the schema declares only as bare strings with defaults. However, `resource` — the sole required parameter — and `note` are never explained (format, identifier shape, whether `resource` is a project id or topic name), leaving a meaningful gap.

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: 'Ask another project (or a gated topic) for consent to reach it', and immediately distinguishes it from accidental cross-project contact and from the target-side `grant`/`deny` decision path. An agent can tell this apart from `grants` (read outcome) and `grant`/`deny` (decide) without opening any 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?

Gives clear context for use (deliberate cross-project reach instead of accidental contact) and explicit follow-up guidance: 'Poll `grants` for the outcome, or wait for the DM'. It explains the routing branches keyed on the target's `[grants].approver`. It stops short of stating when NOT to use it (e.g., if consent already exists), so it falls just under the 5 bar.

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