Skip to main content
Glama

list_consumers

Read-onlyIdempotent

Retrieve a paginated list of consumers ordered by last seen date, with search and blocked-status filters for reviewing or auditing access.

Instructions

Paginated list of consumers, ordered by last_seen_at (desc). Filters: search (substring in display_name or consumer_key), blocked (true = only denylisted, false = only not-denylisted)

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

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum records, up to 100
offsetNoPagination offset
searchNoCase-insensitive substring in display_name or consumer_key, up to 80 characters
blockedNotrue returns denylisted consumers; false returns others; omit for all

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv2.2.4
    • changedInput schema / properties / blocked / description
      Previous value: -"true = só denylisted, false = só não-denylisted, omit = todos"New value: +"true returns denylisted consumers; false returns others; omit for all"
    • changedInput schema / properties / limit / description
      Previous value: -"Máximo de registros (até 100)"New value: +"Maximum records, up to 100"
    • changedInput schema / properties / offset / description
      Previous value: -"Offset de paginação"New value: +"Pagination offset"
    • changedInput schema / properties / search / description
      Previous value: -"Substring case-insensitive em display_name ou consumer_key (até 80 chars, sanitizado)"New value: +"Case-insensitive substring in display_name or consumer_key, up to 80 characters"
  2. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

The annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and closed-world scope, so the safety profile is covered. The description contributes genuinely new behavior: the default sort order by last_seen_at descending and the fact that results are paginated. It stops short of describing the response shape or total-count behavior, so this is a modest but real addition.

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 compact clauses: the resource and ordering come first, followed by the filter semantics. There is no filler, though the parenthetical filter list is dense and the backticked identifiers add mild visual noise.

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?

This is a simple four-parameter, zero-required list tool with no output schema and full annotation coverage. The description supplies ordering, pagination, and filter behavior, leaving only the returned consumer fields unspecified, which is acceptable when annotations and schema carry the rest.

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 description coverage is 100%, so every parameter is already documented in the schema, including case-insensitivity, the 80-character cap, and the blocked tri-state. The description's filter notes largely restate that schema content, adding no syntax or format detail beyond it; 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?

States a specific verb and resource ('Paginated list of consumers') and adds the ordering dimension ('ordered by last_seen_at (desc)'). It does not explicitly contrast with the adjacent list_consumer_sessions sibling, so the agent must rely on the name to distinguish consumers from their sessions.

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 through the filter semantics (e.g., blocked=true for denylisted, false for others, omit for all), which tells the agent how to shape a query. However, there is no explicit when-to-use guidance or statement of when a different sibling tool (such as list_consumer_sessions) would be more appropriate.

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