Skip to main content
Glama

list_merchants

Read-only

Retrieve merchants accessible to the current token with pagination and a default page size of 100, so you can discover which stores can be managed through the API.

Instructions

List merchants the token can access (paginated; size default 100).

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

Input Schema

NameRequiredDescriptionDefault
pageNoPage number (starts at 1).
sizeNoStores per page (max/default 100).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations only declare readOnlyHint and openWorldHint, but the description adds a real behavioral constraint: results are limited to what the token can access, which tells an agent that an empty or partial list may reflect authorization rather than absence of data. It also notes pagination, though it does not describe the returned shape or ordering.

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?

A single sentence with the scope constraint front-loaded and pagination details in a tight parenthetical. Nothing is redundant or padded.

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 tool with annotations and no output schema, the definition covers access scope and paging adequately. Ordering of results and whether full merchant objects or identifiers are returned remain unspecified, which is a modest gap given the tool's simplicity.

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 the schema already explains page numbering and the size max/default. The description's "paginated; size default 100" merely restates what the schema documents and adds no syntax, ordering, or boundary guidance beyond it.

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 uses a specific verb and resource ("List merchants") and adds a scope qualifier ("the token can access"), which cleanly separates it from the singular get_merchant sibling. It stops short of naming or contrasting an alternative explicitly, so it is clear rather than exemplary.

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?

Listing is self-evidently the bulk-retrieval counterpart to get_merchant, so the when-to-use is implied by the verb. However, the description never states when to prefer this over fetching a single merchant or when an agent should filter rather than page, leaving the routing to inference.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.