Skip to main content
Glama

Departamentos de Guatemala

departamentos

Lists the 22 departments of Guatemala with code, capital, and municipality count, or looks one up by code or name.

Instructions

Lista los 22 departamentos de Guatemala (código, cabecera, número de municipios) o busca uno por código o nombre.

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

Input Schema

NameRequiredDescriptionDefault
buscarNoCódigo ('09') o nombre ('Quetzaltenango')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations provided, the description carries the full burden; 'Lista'/'busca' makes the read-only nature evident and the fixed count of 22 signals the result set size. It does not say what happens when 'buscar' matches nothing (empty result vs. error) or whether matching is by exact code or partial name, which are the main behavioral unknowns for a lookup tool.

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?

One compact sentence, front-loaded with the primary listing behavior and the returned fields, with the alternative search mode in second position. Nothing is wasted, though the parenthetical field list makes the sentence slightly dense.

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 one-parameter, read-only catalog lookup with no output schema, the description covers resource identity, result cardinality, returned fields, and both invocation modes. The only meaningful gap is unmatched-search behavior, which is minor at this complexity level.

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% and the single parameter already documents both accepted forms with examples ('09', 'Quetzaltenango'). The description restates that same duality and implicitly conveys that 'buscar' is optional via the 'o' construction, but adds no matching rules or normalization guidance beyond the schema.

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?

The description gives a specific verb pair ('Lista' / 'busca') tied to a concrete resource ('los 22 departamentos de Guatemala') and even enumerates the returned fields (código, cabecera, número de municipios). An agent knows exactly what this tool yields 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 Guidelines4/5

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

It clearly distinguishes the two usage modes: call with no argument to list all 22, or supply 'buscar' to retrieve a single department by code or name. There are no sibling alternatives to route against (the other tools handle IVA, CUI, NIT, etc.), so no exclusions are needed, but it stops short of stating when this data is actually needed.

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