Skip to main content
Glama

Ask for more access

request_access

Request temporary or permanent mailbox permissions from the owner for actions like read, draft, or send; rights activate only after approval and temporary grants can expire automatically.

Instructions

Ask the owner for lasting or temporary rights on mailboxes of this project (to have one draft sent, use request_send instead): read, draft, organize, delete, send, signatures or a preset (reader, drafter, assistant, full), e.g. actions "read,draft". With duration_minutes (1 to 43200, 30 days) the rights end on their own; without it the request is for a permanent grant. Nothing changes until the owner approves; the owner may shorten the time or leave out mailboxes. The owner tells you the mailbox alias; there is no list of mailboxes you could ask for. An approved temporary request counts as open until its rights end. Follow the outcome with list_requests.

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

Input Schema

NameRequiredDescriptionDefault
noteNoShort note for the owner (why you need it).
grantsYesMailboxes and the rights asked for on each.
duration_minutesNoHow long the rights should last. Omit to ask for a permanent grant.

Output Schema

NameRequiredDescriptionDefault
grantsNo
statusNo
request_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / grants / description
      Added value: +"Mailboxes and the rights asked for on each."
  2. First observedv0.11.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations only declare readOnly=false, openWorld=false, idempotent=false, destructive=false; the description carries the real behavioral load by explaining that nothing changes until the owner approves, that the owner may shorten duration or drop mailboxes, and that an approved temporary grant stays 'open' until it expires. This is substantial context beyond the structured fields. It stops short of describing what the approval object or error responses look like, but the output schema covers returns.

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 purpose and the primary alternative, and nearly every clause adds a rule an agent needs. The parenthetical-heavy style makes it dense to parse, and the sentence about the owner naming the alias overlaps with the schema's account description, but there is no filler.

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?

An output schema exists so return values need no explanation, and the description still covers the async approval lifecycle and the list_requests follow-up. For a three-parameter request tool with real permission consequences, an agent has everything needed to call it correctly and understand what happens next.

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 coverage is 100%, so baseline is 3, but the description adds semantics the schema does not: the action vocabulary (read, draft, organize, delete, send, signatures) and the preset names (reader, drafter, assistant, full), plus the key branch that omitting duration_minutes means a permanent grant. It also anchors the account field to 'the mailbox alias as the owner named it'.

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 ('Ask the owner for lasting or temporary rights on mailboxes') plus the exact scope of rights that can be requested. It explicitly carves out the neighboring case ('to have one draft sent, use request_send instead'), so an agent can separate it from request_send without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit routing: use request_send for a one-off draft send, use this tool for standing rights, and follow the outcome with list_requests. It also states the prerequisite that the owner supplies the mailbox alias and that there is no mailbox list to pick from, which prevents a whole class of wrong calls.

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