Skip to main content
Glama

list_accounts

Read-only

List accounts (companies). Optional search on name, label (name or id: only accounts with this label), stale_days (last activity older than N days), order_by: last_activity|name|created (default last_activity). Returns last_activity_at and labels[].

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
labelNoLabel
limitNoMaximum number of entries to return
offsetNoNumber of entries to skip (for paging)
searchNoFree-text search term
order_byNoField to sort by
stale_daysNoOnly accounts whose last activity is older than this many days

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • addedInput schema / properties / label / description
      Added value: +"Label"
    • addedInput schema / properties / limit / description
      Added value: +"Maximum number of entries to return"
    • addedInput schema / properties / offset / description
      Added value: +"Number of entries to skip (for paging)"
    • addedInput schema / properties / order_by / description
      Added value: +"Field to sort by"
    • addedInput schema / properties / search / description
      Added value: +"Free-text search term"
    • addedInput schema / properties / stale_days / description
      Added value: +"Only accounts whose last activity is older than this many days"
  2. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety profile is covered. The description adds real context beyond that: the default sort is last_activity and the response includes last_activity_at and labels[]. It still does not describe pagination behavior or result volume.

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?

A single front-loaded sentence that packs purpose, each meaningful filter, default ordering, and return fields with no filler. It is dense and slightly run-on, but nothing is redundant with the name or title.

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 six-parameter read-only listing tool with no output schema, the description covers the non-obvious filter semantics, the default sort, and the key returned fields. Remaining gaps (pagination behavior, whether results are truncated) are minor relative to the tool's simplicity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, which sets a baseline of 3, but the description goes further than the terse schema strings: it explains that label accepts a name or id and restricts to accounts carrying it, that stale_days means last activity older than N days, and it enumerates order_by values with the default. Only limit/offset are left solely to the schema, which is acceptable since their schema descriptions are self-explanatory.

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 opens with a specific verb+resource, 'List accounts (companies)', which disambiguates the term 'accounts' as companies rather than bank/ad accounts. It does not explicitly name or exclude any sibling, but the resource is stated precisely enough to separate it from the many list_* tools.

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 implied by describing the optional filters (search, label, stale_days, order_by), so an agent can infer this is a filtered listing of company records. There is no explicit when-to-use versus when-not-to-use guidance and no mention of alternatives such as the brevo company listers.

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.