Skip to main content
Glama

gateway_admin_access_request_decide

Approve or reject a pending access request by providing a decision and reason. Admin role required; dry-run mode previews the outcome before applying.

Instructions

Approve or reject one pending access request. Requires access:admin and defaults to dry-run.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
reasonYes
dry_runNo
decisionYes
request_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

The description discloses a critical behavioral trait: 'defaults to dry-run.' This is valuable because the schema's dry_run default is true, and the description confirms that the tool will not execute the decision unless dry_run is explicitly set to false. It also states the permission requirement. It does not describe the output shape, but an output schema exists, so that burden is reduced.

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

Conciseness5/5

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

The description is one sentence with no filler. It front-loads the core action, then adds the permission requirement and the dry-run default. Every word earns its place.

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-decision tool with an output schema, the description covers the essential behavioral context: what it does, what permission is needed, and the dry-run default. It does not explain the relationship to gateway_approval_decide or what happens when dry_run is false, but the output schema and the clear action verb cover most of what an agent needs.

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 0%, so the description must compensate. It names the three required parameters implicitly: request_id (the request being decided), decision (approve or reject), and reason (why). However, it does not explain valid values for 'decision' (e.g., 'approve' vs 'reject') or whether 'reason' is free-form or constrained. The dry_run parameter is explained by the description's 'defaults to dry-run' note. This is adequate but not rich.

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?

The description states a specific verb ('Approve or reject') and a specific resource ('one pending access request'), which clearly distinguishes it from sibling tools like gateway_admin_access_request_list (listing) and gateway_approval_decide (generic approval decisions). The phrase 'one pending access request' also signals it operates on a single item, not a batch.

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?

The description implies when to use it: when deciding a pending access request. It also names a prerequisite ('Requires access:admin'), which helps an agent know whether it is permitted to call it. However, it does not explicitly contrast with gateway_approval_decide or gateway_admin_access_request_list, so an agent might need to infer the boundary between access-request decisions and general approval decisions.

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

Deploy Server

Other Tools