Skip to main content
Glama

Social Media Agency Directory

Top agencies in a city

top_agencies
Read-onlyIdempotent

The ranked Top 10 (or Top 5) agencies the directory's 2026 awards name for a city, best first. Cities without an award return an empty list and a note; use search_agencies for those.

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": {
      "city": "<city>"
    },
    "name": "top_agencies"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityYesCity name or slug, e.g. "London".

Output Schema

NameRequiredDescriptionDefault
cityYes
noteNo
yearYes
countryNo
agenciesYes
award_tierYes10 = Top 10 city, 5 = Top 5 city, null = no award for this city.
attributionNo
methodology_urlNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/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 is covered. The description still adds real behavioral context beyond that: the results are pre-ranked 'best first' and non-award cities produce an empty list plus a note rather than an error. It omits any statement about pagination or result size limits, which keeps it short of a 5.

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?

Two sentences, no filler. The result shape and ordering are front-loaded, and the fallback/alternative guidance follows immediately.

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?

With an output schema present, the description need not explain return values, and it covers the key edge case and the alternative tool. The one unresolved point is why the list is sometimes Top 10 and sometimes Top 5 — the criterion is never stated, leaving a small ambiguity an agent cannot resolve from the definition.

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?

There is a single required parameter with 100% schema description coverage ('City name or slug, e.g. "London"'), so the schema already carries the semantics. The description adds only indirect meaning by implying the city must be one covered by the 2026 awards, which is a marginal gain.

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?

Names a specific resource (award-ranked agencies for a city), the exact shape of the result (Top 10 or Top 5, best first), and the awarding body/year (the directory's 2026 awards). This is far more precise than a generic 'list agencies' and is clearly separable from search_agencies.

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?

Gives an explicit when-not condition ('Cities without an award return an empty list and a note') and routes the agent to the named alternative ('use search_agencies for those'). An agent knows exactly which tool to pick for a city that has no award.

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