Skip to main content
Glama

List pending changes

list_pending_changes
Read-onlyIdempotent

List drafts waiting for the user (from AdChat's chat, alerts or reports). To apply one, ask Yes or No, then call approve_change.

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_pending_changes"
  }
}

Input Schema

NameRequiredDescriptionDefault
account_idNoe.g. act_1234567890

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and closed-world, so the safety profile is fully covered. The description adds two useful pieces of context beyond that: the sources of the drafts and the mandatory ask-Yes/No-then-approve_change workflow. It stops short of describing what a draft record contains or whether results are paginated/limited.

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 compact sentences with zero waste; the primary purpose is front-loaded and the workflow hint follows immediately.

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 simple read-only list tool with full schema coverage and a complete annotation set, the description covers purpose, source, and the required follow-up flow. The main remaining gap is that no output schema exists and the description never hints at the fields a draft exposes, which the agent needs in order to present a Yes/No choice.

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?

Only one optional parameter, and the schema already documents account_id with a concrete example at 100% coverage. The description adds nothing about what account_id scopes or what happens when it is omitted, so this lands at the schema-coverage 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?

Names a specific verb (list) and resource (drafts/pending changes), plus the origin of those drafts (AdChat's chat, alerts or reports). It implicitly distinguishes itself from approve_change by naming that sibling as the follow-up action, though the name 'list_pending_changes' vs. 'drafts' wording is a slight mismatch.

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?

Gives explicit next-step guidance: to apply a change, ask Yes or No, then call approve_change. That routes the agent correctly after the listing, but it does not say when this tool should be preferred over other listing tools like get_alerts or get_change_history, which the agent must infer.

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.