Skip to main content
Glama

Markets, topics and ranges

list_markets_and_topics
Read-onlyIdempotent

The market ids (worldwide and countries), topic ids and time ranges the other tools accept.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile and closed-world enum nature are clear without the description. The description adds the useful context that the values returned are exactly the identifiers other tools accept, but it says nothing about the shape of the response or whether time ranges are relative to the current date.

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 short sentence with no filler, and the key information (market ids, topic ids, time ranges) is front-loaded. It loses a point for being a sentence fragment lacking a verb, which slightly slows comprehension of what the tool actually does.

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

Completeness3/5

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

The tool is simple (zero params, closed-world) and no output schema exists, so the description carries the burden of conveying return content. It identifies the three value categories but does not say the response is lists of ids, nor how country markets are keyed, nor the format of time ranges — gaps an agent would hit on first call.

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?

The tool takes zero parameters, so there is no parameter semantics to explain and the baseline is 4. The description correctly does not fabricate parameter details.

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 description names the resource contents (market ids worldwide and by country, topic ids, time ranges) and their role as inputs to other tools, which is informative. However, it is a noun phrase with no verb, so it never states that the tool returns/lists these values; an agent must infer the action from the name. It also draws no explicit contrast with siblings like get_keyword or search_keywords.

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?

The phrase 'the other tools accept' implies this is a reference/discovery tool to consult before invoking the keyword tools, but that is left implicit. There is no explicit 'call this first when you need a valid market or topic id', no when-not guidance, and no mention of how often ranges change.

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.