Skip to main content
Glama

list_markets

Read-onlyIdempotent

List the live markets (countries or regions) with their code, title and URL. Call it first: the market code is needed by the other tools. Use the shopper's country and fall back to 'intl'.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, closed world), so the description only needs to add context. It does so by establishing the prerequisite ordering for other tools and the fallback-to-'intl' convention, which is genuinely non-obvious behavior; it stops short of describing result ordering or error cases.

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?

Three short sentences, front-loaded with what the tool returns, followed by when to call it and how to choose a market. Every sentence carries distinct information with no repetition.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool is trivial to invoke (no parameters) and has an output schema, so return values need little description. The definition nevertheless covers purpose, call ordering, and fallback selection—everything an agent needs to use it correctly in a multi-tool workflow.

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?

With zero parameters there is nothing for the schema to document, so the baseline is 4. The description still adds useful semantic guidance about how the returned market codes should be chosen (shopper's country, then 'intl'), which helps interpret results for subsequent calls.

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

Purpose5/5

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

The description gives a specific verb and resource ('List the live markets') and defines the resource in parenthetical terms ('countries or regions') plus the returned fields (code, title, URL). It also signals its role relative to siblings by stating the market code is required by the other tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explicitly states ordering ('Call it first') and the reason (the market code is needed by other tools), plus a selection heuristic for downstream calls ('Use the shopper's country and fall back to 'intl''). No ambiguity about when to reach for this tool.

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