Skip to main content
Glama

Observatório BR

Perfil de um território

get_territory_profile
Read-onlyIdempotent

Devolve os 10 indicadores-chave de um território num ano: PIB, PIB per capita, população, inflação, juros, desemprego, dívida, investimento, exportações e arrecadação. O campo natureza diz se o número é Observado, Estimado ou Indisponivel; card Indisponivel vem sem valor, porque não há fonte oficial por território. Inclui as próximas divulgações oficiais.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
yearNoAno de referência, ex. 2023. Opcional; padrão é o mais recente com dado.
territoryIdYesId do território: "br", uma região (ex. "sul") ou a sigla da UF em minúsculas (ex. "sc").

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / territoryId / description
      Previous value: -"Id do território: \"br\", uma região (ex. \"sul\") ou a sigla da UF em minúsculas (ex. \"sc\"). Veja list_territories."New value: +"Id do território: \"br\", uma região (ex. \"sul\") ou a sigla da UF em minúsculas (ex. \"sc\")."
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/closed-world, and the description adds genuinely new behavior: what the natureza field means and why Indisponivel cards carry no value (no official source per territory), plus that upcoming release dates are included. Since there is no output schema, more detail on the response shape would have pushed it higher.

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 sentences, front-loaded with the returned payload and its size, followed by the nature of the natureza field and the release-calendar extra. 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?

For a tool with no output schema, the description conveys the payload contents (ten named indicators + natureza + próximas divulgações) well enough to call it confidently. Minor gaps remain around payload structure and ordering, but nothing an agent needs to invoke it is missing.

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 the schema already documents both year (default = most recent) and territoryId ('br', region, or lowercase UF sigla). The description adds nothing beyond 'num ano', so the baseline 3 applies.

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?

Names a specific verb and resource (devolve os 10 indicadores-chave de um território num ano) and enumerates exactly which indicators are returned, so an agent can distinguish it from compare_indicators or get_indicator_series without opening a 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?

The scope (one territory, one year, all key indicators) implies when to use it, but it never states when to prefer siblings like compare_indicators, get_indicator_series, or get_indicator_latest, nor any exclusions.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources