Skip to main content
Glama

List where servers can run

edgegap_list_locations
Read-only

List cities Edgegap can deploy to and filter by application and version to see locations with current capacity, helping choose geo_coordinates or explain where players can be served.

Instructions

List the cities Edgegap can deploy to. Pass application and version to see only the locations with capacity for that version right now. Use it to pick geo_coordinates for edgegap_deploy when you have no player IPs, or to tell a developer where their players can be served from. For the ping beacons game clients use to measure latency, see edgegap_list_ping_beacons.

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

Input Schema

NameRequiredDescriptionDefault
pageNo
limitNoResults per page, 1-200. Default 100.
versionNo
applicationNoWith version: only locations with capacity for it now.

Output Schema

NameRequiredDescriptionDefault
totalNo
showingNo
messagesNo
locationsNo
next_stepNo
truncatedNo
filtered_forNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.19.5
    • changedInput schema / properties / limit / description
      Previous value: -"Default 100."New value: +"Results per page, 1-200. Default 100."
    • changedInput schema / properties / limit / maximum
      Previous value: -200New value: +9007199254740991
    • changedInput schema / properties / limit / minimum
      Previous value: -1New value: +-9007199254740991
  2. Changed1 schema field changedv0.12.0
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": {},
      +  "properties": {
      +    "filtered_for": {
      +      "type": "string"
      +    },
      +    "locations": {
      +      "items": {
      +        "additionalProperties": {},
      +        "properties": {
      +          "city": {
      +            "type": "string"
      +          },
      +          "continent": {
      +            "type": "string"
      +          },
      +          "country": {
      +            "type": "string"
      +          },
      +          "latitude": {
      +            "type": "number"
      +          },
      +          "longitude": {
      +            "type": "number"
      +          },
      +          "region": {
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "messages": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "next_step": {
      +      "type": "string"
      +    },
      +    "showing": {
      +      "type": "number"
      +    },
      +    "total": {
      +      "type": "number"
      +    },
      +    "truncated": {
      +      "type": "boolean"
      +    }
      +  },
      +  "type": "object"
      +}
  3. Addedv0.7.1

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=true, destructiveHint=false, openWorldHint=true), so the description's real contribution is the "right now" temporal caveat: results with application+version reflect current capacity, not a static catalog. It does not mention pagination behavior or how large the unfiltered list is, which is the remaining behavioral gap.

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?

Three tight sentences, each doing distinct work: what it lists, how to filter it, why to call it, and which sibling to use instead. No restated title, no filler.

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?

An output schema exists, so return values need no explanation, and the description ties its output (geo_coordinates) to the downstream edgegap_deploy call, which is the key integration detail. Only the paging behavior for a potentially long location list is left unaddressed.

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 50%, and the description compensates on the important part by clarifying that application and version work together to filter for live capacity. The limit description in the schema already covers the range and default, but `page` is undocumented in both places and the description does not address it.

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?

"List the cities Edgegap can deploy to" gives a specific verb plus resource and immediately scopes what the resource means (deployable locations). It also separates itself from edgegap_list_ping_beacons by name, so an agent can pick between the two without opening either schema.

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?

The description states two concrete use cases (supply geo_coordinates for edgegap_deploy when no player IPs exist; report where players can be served from) and routes the latency-beacon case to a named sibling. The conditional filtering behavior (pass application + version for live capacity) is presented as an explicit usage mode rather than left to inference.

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