Skip to main content
Glama

List Locations Tool

residential_list_locations
Read-only

[Residential] Find targeting codes. Without filters it returns countries. Add country to get its regions, cities and ISPs; add region or city to narrow cities and ISPs. Use the returned codes in residential_create_connections.

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": "residential_list_locations"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityNoCity code returned for the country or region.
regionNoNumeric region code returned for the country.
countryNoTwo-letter country code in upper case, for example US.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already establish readOnlyHint=true, and the description adds real behavioral context on top: the unfiltered result set is countries, and each filter level narrows what comes back (regions, cities, ISPs). It does not cover response shape, result volume, or pagination, which is the remaining gap for a read-only lookup.

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?

Four short sentences, front-loaded with purpose, then the progressive filtering model, then the downstream use. No redundant or filler wording; every clause carries information.

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?

For a zero-required-parameter, read-only lookup with no output schema, the description covers purpose, filter progression, and the nature of returned values, which is enough to invoke it correctly. Slightly more detail on the returned record fields would make it fully self-sufficient.

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 coverage is 100%, so every parameter is already documented, and the description largely restates the same hierarchical logic. The added value is the dependency chain (country unlocks region/city, region or city narrows the ISP list), but it does not add format detail beyond what the schema says, so the baseline applies.

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?

States a specific verb and resource ('Find targeting codes') plus a precise default behavior ('without filters it returns countries'), which tells an agent exactly what the tool produces. The stated output is clearly distinct from sibling tools like residential_create_connections or the proxy-list tools.

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?

Gives explicit guidance on how to drive the tool progressively (start with no filters, add country, then region or city) and names the downstream consumer of the results ('Use the returned codes in residential_create_connections'). It stops short of any when-not-to-use statement, but no sibling appears to overlap this lookup role.

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