Skip to main content
Glama

Lista todas as cidades de um estado com a opção de filtrar por palavra chave com similaridade pelo n

zeev_get_geo_states_by_stateid_cities
Read-onlyIdempotent

Lists all cities within a state and filters them by a city-name keyword using similarity matching, so you can resolve or verify state-city locations from a state ID.

Instructions

Lista todas as cidades de um estado com a opção de filtrar por palavra chave com similaridade pelo nome da cidade https://kb.stoque.com.br/zeev/apis/all/others/geo Endpoint: GET /api/2/geo/states/{stateid}/cities Categoria: Países / Estados / Cidades

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": {
      "stateId": "<stateId>"
    },
    "name": "zeev_get_geo_states_by_stateid_cities"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoNome da cidade Local: query
stateIdYesCódigo do estado Local: path

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description adds essentially nothing beyond them — no pagination or result-size behavior, no note on how name similarity matching works (prefix, fuzzy, accent-insensitive), and no statement that an invalid stateId yields an empty result.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The first sentence is front-loaded and useful, but the KB link, endpoint path and category line are boilerplate that mostly duplicate the title and schema without adding decision-relevant content.

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

Completeness3/5

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

For a simple two-parameter read with full schema coverage and no output schema, the definition is minimally sufficient. The main gap is the semantics of the keyword-similarity filter, which is exactly the non-obvious behavior an agent would need.

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 already documents both parameters with their locations (query vs path). The description only repeats that 'name' filters by city name; it adds no matching semantics or formatting detail beyond the schema, so the baseline 3 applies.

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?

States a specific verb (list) and resource (cities of a state), plus an optional keyword filter on city name, and names the endpoint path. It differs from sibling zeev_get_geo_countries_by_countryid_states by resource level, though the description never explicitly contrasts the two.

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?

Usage is implied: use when you need the cities belonging to a given state, optionally narrowed by name similarity. There is no explicit when-not guidance or mention of the parent state-listing tool, so the agent must infer that a stateId must first be obtained elsewhere.

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