Skip to main content
Glama

Social Media Agency Directory

List locations

list_locations
Read-onlyIdempotent

Countries with agencies, or, when a country is given, the cities in that country, each with its agency count and directory URL. Use the returned names or slugs as the country and city filters of search_agencies.

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

Input Schema

NameRequiredDescriptionDefault
countryNoCountry name or slug. Omit to list all countries.

Output Schema

NameRequiredDescriptionDefault
citiesNo
countryNo
countriesNo
attributionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/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 a closed-world scope, so the safety profile is fully covered. The description's real added value is the conditional mode switch (with vs. without a country argument) and the fields each row carries, but it does not mention ordering, volume, or whether any country list is complete.

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 compact sentences with no filler; the default behavior and the conditional behavior are front-loaded, and the chaining advice follows. Every clause carries information an agent needs.

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?

With an output schema present, annotations covering safety and one fully documented optional parameter, the description supplies exactly the remaining context: the mode-dependent result shape and how to reuse the output. Nothing needed for a correct call is missing.

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?

Schema coverage is 100%, so the baseline would be 3, but the description adds genuine meaning: it explains that supplying a country switches the result from a country list to that country's cities, clarifying the semantics of the single optional parameter beyond the schema's terse 'Omit to list all countries'.

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 names the resource and its two modes precisely: countries with agencies by default, or cities within a supplied country, each annotated with agency count and directory URL. It also differentiates itself by naming search_agencies as the downstream consumer, though it opens with a bare noun phrase rather than an explicit verb+resource statement.

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

Usage Guidelines4/5

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

Clear usage context is given: the returned names/slugs are meant to feed the country and city filters of search_agencies, which tells the agent this is a discovery/lookup step before searching. It stops short of explicit when-not guidance, such as pointing to directory_stats for aggregate figures instead.

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