Skip to main content
Glama

get_approval_details

Retrieve full details of a pending approval task, including agent reasoning, proposed action, risk assessment, and supporting evidence, to inform your decision.

Instructions

Get full details of a pending approval task before deciding.

Shows the agent's reasoning, proposed action, risk assessment, and any supporting evidence.

Args: task_id: The approval task UUID

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
task_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

Without annotations, the description bears the full burden for behavioral disclosure. It lists what the tool shows (reasoning, proposed action, risk assessment, evidence), providing useful context beyond the name. However, it does not mention idempotency, side effects, or constraints like whether it works only on pending tasks.

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 extremely concise: two sentences and one argument line. It is front-loaded with the purpose, and every sentence adds value without redundancy.

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 the simple nature (one parameter, read-only, output schema exists), the description covers the return details adequately. It might lack edge cases (e.g., behavior for non-pending tasks), but overall it is sufficiently complete for a tool of this complexity.

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?

The schema has no parameter descriptions (0% coverage), so the text's 'task_id: The approval task UUID' adds essential meaning. This compensates well for the missing schema description, making the parameter clear.

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 clearly states the tool retrieves full details of a pending approval task, with the specific purpose of aiding decision before approval/rejection. It distinguishes from sibling tools like 'approve_task' and 'reject_task' by focusing on reading details, not taking action.

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 phrase 'before deciding' explicitly guides the agent to use this tool prior to approving or rejecting a task. However, no explicit alternatives or exclusions are mentioned, such as directing to 'list_pending_approvals' for listing tasks first.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/RPasquale/lightbulb-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server