Skip to main content
Glama

Mahalleler

cografya_get_neighborhoods

Retrieve neighborhood (mahalle) names and populations for a Turkish province and district by supplying il and ilce; set an optional limit of 1–200 records.

Instructions

Neighborhoods (mahalle) of a district with population.

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": {
      "il": "<il>",
      "ilce": "<ilce>"
    },
    "name": "cografya_get_neighborhoods"
  }
}

Input Schema

NameRequiredDescriptionDefault
ilYesİl
ilceYesİlçe
limitNoEn fazla kaç kayıt döndürülsün (1–200, varsayılan 20)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden and does little: it does not say whether results are ordered, what happens if the district name is ambiguous or misspelled, whether names are matched case-sensitively, or that the result set is capped and paginated. It does disclose the payload contains a population figure, which is the one real addition.

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?

A single compact sentence with the resource front-loaded and no redundant wording. It is efficient, but on the edge of under-specification rather than genuine brevity of a complete thought.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Three parameters, no output schema, and no annotations mean the description must cover scope and behavior on its own, yet it omits return structure beyond 'population', ordering, and matching semantics for the required string keys. Adequate for an agent that guesses, insufficient for one that must call correctly first time.

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 100%, so il, ilce, and the limit range/default are already documented in structured data; the description adds nothing parameter-specific. Baseline 3 applies since the schema does the work, though format expectations for il/ilce (exact spelling? plate code?) remain unresolved in both places.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Identifies the resource precisely ('Neighborhoods (mahalle) of a district') and even disambiguates the Turkish term, which places it clearly one level below the district tool. It omits an explicit verb (list/retrieve), so the operation is inferred rather than stated.

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

Usage Guidelines2/5

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

There is no statement of when to use this versus cografya_get_districts or cografya_get_provinces, no prerequisite ordering (fetch province -> district -> neighborhood), and no exclusions. The required il/ilce pair hints at a drill-down, but the agent must infer that entirely.

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