Skip to main content
Glama

list_accounts

Read-only

List access roots, or children of a manager through an explicit root. Recurse through managers to discover advertisers.

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

Input Schema

NameRequiredDescriptionDefault
manager_idNo
access_root_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true and destructiveHint=false, so the safety profile is covered. The description adds genuine behavior beyond that: the call recurses through managers to surface advertisers, which tells the agent the result set may span a hierarchy rather than a flat list. Pagination, depth limits and volume are unmentioned.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences with the primary listing behavior front-loaded and no filler. The second sentence is dense but earns its place by disclosing the recursive traversal.

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 two-optional-parameter read-only listing tool with no output schema, the description covers the core traversal model and the two entry points; only the default (no-argument) behavior and result contents remain unstated, which is a modest gap.

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?

With 0% schema description coverage, the description must carry the two parameters, and it partially does by contrasting 'access roots' with 'children of a manager through an explicit root', which maps to access_root_id vs manager_id. It does not state what happens when neither is supplied, nor the recursion depth or result shape.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The verb 'List' and resource 'access roots / children of a manager' are stated, but the vocabulary drifts between 'accounts', 'access roots', 'managers' and 'advertisers' without saying how they relate to the tool's name. An agent can guess this walks an account hierarchy, but the specific output entity is ambiguous.

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 two clauses suggest you either enumerate access roots or descend from a manager via an explicit root. No sibling is named and no when-not condition (e.g., use list_campaigns once you have an account) is given.

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