Skip to main content
Glama

Find admin areas named in text

find_places
Read-onlyIdempotent

Identifies first-level administrative areas mentioned in text, in order of appearance, to scope location-based questions. Pass text and an optional result limit.

Instructions

List the first-level administrative areas whose names (English, local script or common aliases) appear in a piece of text, in order of appearance. Use it to scope a question.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "text": "<text>"
    },
    "name": "find_places"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYes
limitNo

Output Schema

NameRequiredDescriptionDefault
noteNo
sourceYes
matchesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover readOnly, idempotent, non-destructive and closed-world, so the safety profile is handled. The description adds behavior annotations do not: matching across English, local script and aliases, plus result ordering by order of appearance. It stops short of saying what happens when nothing matches, which is the main residual 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?

Two sentences, zero waste, with the core behavior front-loaded ahead of the usage hint. Nothing is repeated from the schema or annotations.

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?

A low-complexity, two-parameter read tool with an output schema and full annotations; the description explains what is returned (ordered first-level admin areas) and how matching works. Only the `limit` semantics and the empty-result case are left unaddressed, which are minor omissions at this complexity.

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 description coverage is 0%, so the description must carry parameter meaning. It characterizes `text` well as free-form prose to be scanned for place names, but says nothing about `limit` — neither what it caps nor why the maximum is 5 — leaving that parameter to be inferred from its name and bounds.

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 ('List the first-level administrative areas') plus the exact matching rule ('names in English, local script or common aliases ... appear in a piece of text') and the ordering of results. The 'appear in a piece of text' framing implicitly separates it from single-name resolution tools like resolve_place, so an agent can tell what it does without opening the schema.

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

Usage Guidelines3/5

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

'Use it to scope a question' gives a hint of when the tool is appropriate, but there is no when-not guidance, no named alternative (resolve_place or admin_to_bbox), and no statement of what to do with the returned areas. Usage is implied rather than specified.

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

Deploy Server

Other Tools