Skip to main content
Glama

ChainChoice published rankings

Get a category's order for one country

get_ranking_for_country
Read-onlyIdempotent

The category's products as a reader in one country sees them: those available there, in order, with each one's published score and rank beside it. When nothing passes the country's availability filter, resultMode is "fallback" and the rows are the published order, none confirmed for that country.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "category": "<category>",
      "country": "<country>"
    },
    "name": "get_ranking_for_country"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoHow many rows, from the top (default 10).
countryYesISO 3166-1 alpha-2, e.g. "DE".
categoryYesA category id from list_categories, e.g. "exchange" or "hardware_wallet" (a ranked id), or one of its notRanked ids, which every tool answers with status "not_ranked".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / category / description
      Previous value: -"A category id from list_categories, e.g. \"exchange\" or \"hardware_wallet\"."New value: +"A category id from list_categories, e.g. \"exchange\" or \"hardware_wallet\" (a ranked id), or one of its notRanked ids, which every tool answers with status \"not_ranked\"."
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint=false, so the safety profile is covered. The description goes beyond them by disclosing a real edge case the annotations cannot express: when no product passes the country's availability filter, resultMode becomes "fallback" and the returned rows are unconfirmed for that country. That is exactly the kind of non-obvious behavior an agent needs to interpret results correctly; it does not cover ordering ties or empty-result handling.

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 sentences, front-loaded with what is returned, then the failure-mode behavior. Dense but efficient; the nested quotes around "fallback" and "not_ranked"-style phrasing inside the schema make it slightly harder to scan, but nothing is redundant.

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?

There is no output schema, so the description carries the burden of describing return values, and it does say what each row contains (score and rank alongside the product) plus the resultMode fallback variant. Combined with a fully documented three-parameter schema and read-only annotations, that is close to complete; only pagination or ordering-tie caveats are absent.

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%, with limit, country (ISO alpha-2 with pattern) and category all documented in the schema, including the notRanked-id case. The description adds no syntax or format detail beyond that, so the 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?

The description gives a specific verb-and-resource picture: the category's products as a reader in one country sees them, in order, with each one's published score and rank. That is materially more than the title and lets an agent distinguish it from a generic get_ranking. It stops short of explicitly naming the sibling it differs from, so it is clear but not sibling-differentiating.

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 only implied: the mention of 'a reader in one country' signals that this is the per-country view, and the fallback sentence hints at what happens for sparse countries. There is no explicit statement of when to choose this over get_ranking, or when not to use it, and no prerequisites for obtaining a valid category or country.

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