Skip to main content
Glama

Proxy geo targets

get_geo
Read-onlyIdempotent

Discover countries, regions, cities, and ISPs in a cascading hierarchy to target shared-proxy lists accurately; each result lists available nodes for selection.

Instructions

Cascading geo discovery for shared-proxy list targeting (create_proxy_list, update_proxy_list). No params -> countries; country=US -> regions; country=US + region=California -> cities; + city='Los Angeles' -> ISPs. Each row shows available nodes.

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

Input Schema

NameRequiredDescriptionDefault
cityNo
regionNo
countryNoISO 3166-1 alpha-2 (e.g., US)

Output Schema

NameRequiredDescriptionDefault
ispsNo
citiesNo
regionsNo
countriesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv2.0.0
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. Changed1 schema field changedv1.2.1
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": {},
      +  "properties": {
      +    "cities": {
      +      "items": {
      +        "additionalProperties": {},
      +        "properties": {
      +          "available_nodes": {
      +            "maximum": 9007199254740991,
      +            "minimum": -9007199254740991,
      +            "type": "integer"
      +          },
      +          "name": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "name",
      +          "available_nodes"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "countries": {
      +      "items": {
      +        "additionalProperties": {},
      +        "properties": {
      +          "available_nodes": {
      +            "maximum": 9007199254740991,
      +            "minimum": -9007199254740991,
      +            "type": "integer"
      +          },
      +          "code": {
      +            "type": "string"
      +          },
      +          "name": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "code",
      +          "name",
      +          "available_nodes"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "isps": {
      +      "items": {
      +        "additionalProperties": {},
      +        "properties": {
      +          "available_nodes": {
      +            "maximum": 9007199254740991,
      +            "minimum": -9007199254740991,
      +            "type": "integer"
      +          },
      +          "name": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "name",
      +          "available_nodes"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "regions": {
      +      "items": {
      +        "additionalProperties": {},
      +        "properties": {
      +          "available_nodes": {
      +            "maximum": 9007199254740991,
      +            "minimum": -9007199254740991,
      +            "type": "integer"
      +          },
      +          "name": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "name",
      +          "available_nodes"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "type": "object"
      +}
  3. First observedv1.1.3

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 (readOnly, idempotent, non-destructive, closed-world), and the description adds the non-obvious behavioral trait that results are hierarchical and that each row reports available nodes. It does not mention result volume or pagination, but with an output schema present the return shape does not need further explanation.

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 telegraphic sentences, zero filler, front-loaded with purpose before the progressive examples. Every clause conveys a distinct rule the 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?

A read-only lookup with three optional params, clear annotations, and an output schema — the description closes the only real gap, the cascade semantics, and notes what rows contain. Nothing an agent needs to invoke it correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Only 33% of the schema is described (country's ISO code), so the description must carry the rest, and it does: it demonstrates each of the three optional params with concrete values and, more importantly, explains the cross-parameter cascade semantics that the flat schema cannot express. The example values (US, California, Los Angeles) also implicitly convey the expected naming format for region and city.

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?

"Cascading geo discovery for shared-proxy list targeting" states a specific verb (discovery), a specific resource (geo targets), and the parent workflow (create_proxy_list, update_proxy_list). The name 'get_geo' alone would be ambiguous, but the description pins it to proxy-list geo targeting and nothing else.

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?

The cascade rule (no params -> countries, +country -> regions, +region -> cities, +city -> ISPs) tells the agent exactly how to drive the tool at each stage, and naming create_proxy_list/update_proxy_list gives the context in which it belongs. It stops short of naming alternatives such as search_dedicated_countries, so the agent must still infer that dedicated-number geo is out of scope.

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