Skip to main content
Glama

Approve access request

approve_access_request
Idempotent

Approve a pending access request: the requester is added to the site's allowlist and can then view it. Use list_access_requests to find the request_id. For anyone who may edit the site; rejected requests (forbidden, plan_limit, not_found) make no change.

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

Input Schema

NameRequiredDescriptionDefault
site_idYesThe id of the site the request belongs to
request_idYesThe id of the access request to approve
workspace_idNoOptional: the workspace to act in, from list_workspaces (the connection reaches the person's personal space and every workspace they are a member of). Required on a write when the connection reaches more than one workspace. Omit to act in the personal space (for an older single-workspace connection, the one workspace it was authorized for).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / workspace_id / description
      Previous value: -"Optional: the workspace (the personal space or a Pro workspace) to act in, from list_workspaces. Omit to act in the token owner's own account."New value: +"Optional: the workspace to act in, from list_workspaces (the connection reaches the person's personal space and every workspace they are a member of). Required on a write when the connection reaches more than one workspace. Omit to act in the personal space (for an older single-workspace connection, the one workspace it was authorized for)."
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare non-destructive, idempotent, non-read-only, so the bar is met; the description still adds real value by spelling out the state change (allowlist membership → view access) and by enumerating the failure statuses (forbidden, plan_limit, not_found) that result in no change. It does not say what the response contains, but no output schema exists and the outcome is described.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded and short, with the effect stated first. However the second sentence is a confusing, apparently truncated clause that mixes an edit-access condition with error states, so a sentence that should earn its place instead creates ambiguity.

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 two-required-param approval mutation with full schema coverage and annotations covering safety, the description gives effect, prerequisites, and failure behavior — enough to call it correctly. The one gap is the incomplete guidance on when edit-capable users should instead go through an editor-granting tool.

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%, so all three parameters including workspace_id scoping are already documented; the description only adds the provenance hint for request_id (get it from list_access_requests). That is a modest add over the schema, which justifies the 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 (approve a pending access request) plus the concrete effect: the requester is added to the site's allowlist and can then view it. That distinguishes it cleanly from deny_access_request and from editor-granting siblings without needing their schemas.

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 usefully points to list_access_requests as the source of request_id, and names the rejected-request states. But the clause 'For anyone who may edit the site;' is a dangling fragment — it reads like it was meant to route edit-access cases to another tool (e.g. add_website_editor) but the alternative is never stated, leaving the when-not guidance ambiguous.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.