Skip to main content
Glama

wariwari

Approve an access request

approve_access_request

Use this to let someone who asked to join a group in as an editor. Admins only.

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": {
      "groupToken": "<groupToken>",
      "accessRequestId": "<accessRequestId>"
    },
    "name": "approve_access_request"
  }
}

Input Schema

NameRequiredDescriptionDefault
groupTokenYesThe group's token, from `listGroups` or `listSearchResults`.
accessRequestIdYesThe pending access request's id, from `listAccessRequests`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / accessRequestId / description
      Added value: +"The pending access request's id, from `listAccessRequests`."
    • addedInput schema / properties / groupToken / description
      Added value: +"The group's token, from `listGroups` or `listSearchResults`."
  2. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare this is a non-destructive write in a closed world; the description adds the admin-only authorization requirement and the resulting role, both beyond the structured data. It does not say whether the request is removed from the pending list, whether the user is notified, or what a successful response looks like.

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?

Two short sentences, effect first and permission constraint second, with no filler. The awkward split verb 'let ... in' costs a little readability but nothing is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter mutation with full schema coverage and annotations, the essentials are covered: what it does, who may call it, and the resulting role. With no output schema, the description leaves the agent guessing about the returned confirmation and follow-up state, which is a meaningful remaining gap for an approval workflow.

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 100% and both parameters carry provenance hints ('from listGroups', 'from listAccessRequests'), so the description need not restate them. Its only added semantic is that the granted role is fixed to editor (no role parameter exists), which is mildly useful but stated only in passing.

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 concrete action and its effect: approving a pending join request and granting editor-level access to a group. That is clearly distinguishable from decline_access_request or list_access_requests. The phrasing 'let someone who asked to join a group in as an editor' is a bit indirect but unambiguous.

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?

'Admins only' supplies a real precondition for use, which is useful. However, it never names the sibling alternative (decline_access_request) or says where the accessRequestId comes from, so the agent must infer the workflow from the schema alone.

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.

Resources