Skip to main content
Glama
Dotcom-Tools MCP server

Dotcom-Tools MCP server

Official

List test locations

list_locations
Read-onlyIdempotent

Lists available test locations by region with IDs, optionally filtered by test type. Use it to show choices or pick mainland-China locations when run_test needs explicit sites.

Instructions

The locations that can run tests right now, grouped by region, with their ids. run_test also accepts location names (e.g. "Chicago") or none at all (it then picks locations in different regions), so you only need this to show the user the choices or to pick mainland-China locations.

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
testTypeNoOnly locations that offer this test type, e.g. webspeed or ping.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Adds real context beyond the readOnly/idempotent annotations: the result reflects currently available locations (freshness), is grouped by region, and includes ids. It does not mention caching or whether availability fluctuates between calls, but the availability semantics are the key operational fact here.

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?

The output shape is front-loaded in the first clause, and the second sentence carries the guidance. Slightly meandering with the nested parenthetical about run_test picking different regions, but no sentence is wasted.

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 no output schema, the description supplies the return structure (region grouping plus ids) and the availability condition, and the single optional filter is fully covered by the schema. Nothing an agent needs to call it correctly is missing.

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% and the single testType parameter is already documented with examples (webspeed, ping) in the schema. The description contributes no additional parameter meaning, so the baseline 3 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 the resource precisely: locations that can run tests right now, grouped by region, with ids. It also distinguishes itself from run_test by noting that run_test accepts location names directly, so an agent can tell the two apart without inspecting schemas.

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?

Explicitly narrows the use case: only call this to show the user the choices or to pick mainland-China locations, and notes that run_test works with a name or with no location at all. That is a clear when-to-use plus a when-not-to-use with the alternative named.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.