Skip to main content
Glama

list_approvals

Read-onlyIdempotent

Retrieve tenant approval requests filtered by status, with role-based visibility so admins and owners see all while editors see their own and approvable items.

Instructions

Pending approval requests for the tenant. admin/owner see all; editor is scoped to own requests + what they can approve

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_approvals"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum results; defaults to 100, maximum 200
statusNoStatus filter; defaults to awaiting_userawaiting_user

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv2.2.4
    • changedInput schema / properties / limit / description
      Previous value: -"Máximo de itens (default: 100, max: 200)"New value: +"Maximum results; defaults to 100, maximum 200"
    • changedInput schema / properties / status / description
      Previous value: -"Filtro de status (default: awaiting_user)"New value: +"Status filter; defaults to awaiting_user"
  2. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds genuinely new behavior: result visibility depends on the caller's role (admin/owner see all, editor is scoped to own plus approvable requests), which is exactly the kind of non-obvious context an agent needs to interpret a short result set.

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?

Two short clauses with zero waste, front-loading the resource and then the role-based scoping condition. Nothing in it is redundant with the title or annotations.

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 low-complexity read-only list tool with full schema coverage and rich annotations, the definition covers purpose and the main interpretive risk (role scoping). The remaining gap is that no output schema exists and the description says nothing about the shape or ordering of returned approvals, though this is minor for a straightforward list.

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 document their defaults and bounds, so the schema does the heavy lifting. The description only indirectly reinforces the status default via 'Pending'; it adds no format or semantic detail beyond that, which is the expected baseline.

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 names the resource and scope precisely: pending approval requests for the tenant. It is clear this lists requests rather than policies, but it never explicitly distinguishes itself from the sibling list_approval_policies, so an agent must infer the difference from the noun alone.

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: the word 'Pending' signals the default status filter, and the role note hints at why result sets differ by caller. There is no explicit statement of when to call this versus list_approval_policies, and no guidance on when to widen the status filter.

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