Skip to main content
Glama

resolve_approvals

Approve or deny the integration actions a run is paused on (status needs_input with pending_approval_ids). Submit a decision for every pending id at once; the run resumes in the background.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
run_idYesA run id (trun_...).
approvalsYesOne decision per pending approval id — the run stays paused until every one is answered.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
objectYes
resultNo
reusedNo
statusYes
chat_idNo
summaryNo
task_idYes
task_nameNo
created_atYes
started_atNo
completed_atNo
error_messageNo
credits_consumedNo
pending_approval_idsNo

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already indicate readOnlyHint=false (mutation) and idempotentHint=false, so the description correctly implies a state-changing action without contradiction. It adds valuable behavioral context: 'the run resumes in the background' and the requirement to answer every pending id. These go beyond the structured annotations and help the agent anticipate side effects. It doesn't go into failure modes, but the core behavior is transparent.

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 two sentences, each earning its place. The first sentence states purpose and the triggering condition; the second gives the critical usage constraint and the outcome. It is tightly written with no redundant phrases or filler.

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 tool has an output schema (not shown) and high schema coverage for inputs, the description covers the essential usage and behavior. It explains the requirement to submit all pending ids, the resumption in background, and the condition to invoke. Minor omissions like error handling or idempotency are already partially covered by annotations and are not critical for an agent to call this correctly.

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 the schema already documents both run_id and the approvals array with field-level descriptions. The description mostly rephrases the schema's minItems and the run stays paused until all answered. It adds no new parameter-specific semantics, so per the baseline for high coverage, a 3 is appropriate.

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 a specific action ('Approve or deny integration actions') and the exact condition ('status needs_input with pending_approval_ids'). It distinguishes itself from sibling tools like cancel_run and wait_for_run by addressing the approval decision specifically. The verb-resource pair is unambiguous and immediately understandable.

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?

It specifies when to use the tool: when a run is paused with status needs_input and has pending_approval_ids. It also gives an explicit usage rule: 'Submit a decision for every pending id at once'. It doesn't explicitly contrast with alternatives, but the condition and requirement to answer all pending ids makes the use case clear. The note that the run resumes in background also clarifies the expected outcome.

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.

TDQS

A4/5.0
Disambiguation4/5

The direct API tools (api_search/api_execute) are clearly distinct from the agent workflow tools. The main ambiguity is between ask_crevio and start_chat, since both initiate agent runs, though one waits and the other does not.

Naming Consistency4/5

Most tools follow a clear verb_noun pattern (list_runs, get_run, send_message, cancel_run). The api_ prefix on api_execute/api_search and the lowercase whoami are minor deviations from an otherwise consistent convention.

Tool Count5/5

14 tools is well-sized for a server that combines direct REST API access with an agent run/chat lifecycle. Each tool has a distinct role and none feel redundant or unnecessary.

Completeness5/5

The REST surface is fully covered through api_search and api_execute, and the agent lifecycle is complete: start, continue, ask, wait, list, approve, cancel, and inspect runs/chats/messages. No critical operation appears to be missing.

Resources