Skip to main content
Glama

Read an agent's approvals

get_agent_approvals
Read-only

Which of the agent's tool calls wait for a person's approval and who decides: the organization's approval policies, the agent's own setting, and one row per tool (required, effective policy, reason, locked by an administrator).

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": {
      "agent_id": "<agent_id>"
    },
    "name": "get_agent_approvals"
  }
}

Input Schema

NameRequiredDescriptionDefault
agent_idYesTarget agent's id (from list_agents / create_agent / get_catalog view=agents).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so safety is covered. The description adds genuinely new behavioral context: the response explains approval origin at three levels (organization policies, agent setting) and returns one row per tool with required, effective policy, reason, and an administrator lock flag, which tells the agent what 'locked' entries mean for follow-up actions.

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?

It is a single sentence with no filler, but the sentence is a colon-introduced fragment that reads as a return-value list rather than a front-loaded statement of what the tool does. Slight restructuring would make the purpose land first.

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?

With no output schema and no annotations beyond read-only flags, the description does the necessary work of explaining the returned structure (per-tool rows with required/effective policy and reason). Missing only a note on what a locked-by-administrator row implies for subsequent set_agent_approvals calls.

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% with a single required agent_id whose schema description already lists the ways to obtain the id. The description adds no further parameter meaning, so the baseline 3 applies.

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?

The description states a specific resource and scope: the agent's tool-call approval requirements plus who decides them (org policies vs. the agent's own setting). It is clearly a read of approval configuration, though it never names the sibling that writes this data (set_agent_approvals), so the name and the 'Read' framing carry the differentiation.

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?

Usage is only implied by the read framing and the annotation set; there is no explicit statement of when to call this versus set_agent_approvals or get_agent. The parameter text mentions list_agents/create_agent only as id sources, not as alternatives to avoid.

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