Skip to main content
Glama

leychile_listar_codigos

Read-onlyIdempotent

List verified Chilean legal codes with their idNorma for direct access. Codes without idNorma require resolution via search or dedicated resolver.

Instructions

Lista los códigos de la República con su idNorma (verificado) para acceso directo.

Los marcados sin idNorma se resuelven con leychile_resolver_codigo o búsqueda.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint, and non-destructive. The description adds context about the type of codes listed and the resolution path for missing idNorma, enhancing transparency beyond annotations.

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, no wasted words. First sentence states purpose, second provides usage guidance. Efficient and front-loaded.

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

Completeness5/5

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

Given the tool's simplicity (no required inputs, output schema available), the description covers the essential information: what it lists, how to handle missing idNorma, and links to alternatives. Complete for its 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?

The description does not mention the single parameter (response_format) or its options. However, the parameter is a simple nested object with an optional field, and the tool can be invoked without input. Given zero schema coverage, the description could have noted the output format choice, but the simplicity mitigates the gap.

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 clearly states it lists codes of the Republic with verified idNorma for direct access. The title reinforces this. It distinguishes from sibling tools like leychile_resolver_codigo.

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

Usage Guidelines5/5

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

Explicitly states that codes without idNorma should be resolved using leychile_resolver_codigo or search, providing clear guidance on when to use this tool vs alternatives.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/IanGuiloff/LeyChile-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server