Skip to main content
Glama

es_get_teac_criterio

Read-onlyIdempotent

Fetches a TEAC criterio and its full resolution text using the DYCTEA ID, providing direct access to the administrative ruling.

Instructions

Fetch one TEAC criterio (with the full resolution text) by its DYCTEA id.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
criterio_idYesthe DYCTEA id from ``es_search_teac_doctrine``, e.g. ``"00/07082/2025/00/0/1"``.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
rgNo
asuntoNo
criterioNo
source_urlNo
criterio_idYes
calificacionNo
dataset_noteNoTEAC doctrine (criterios) is reached by RG claim-number segments and/or a resolution-date range (es_search_teac_doctrine) and opened by criterio id (es_get_teac_criterio, e.g. '00/07082/2025/00/0/1'). Source: DYCTEA (serviciostelematicosext.hacienda.gob.es/TEAC/DYCTEA, ~6,500 criterios). The portal accepts free-text-looking parameters but silently ignores them, so this connector offers no full-text search on TEAC.
fecha_resolucionNo
texto_resolucionNo
unidad_resolutoriaNo
referencias_normativasNo
human_readable_citationNo
Behavior3/5

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

Annotations already declare the tool as read-only and idempotent, which the description's 'Fetch' aligns with. The description adds that the response includes the 'full resolution text,' which is useful but also covered by the output schema. No extra behavioral context (e.g., errors, pagination) is provided, so a mid-range score is appropriate.

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?

A single, front-loaded sentence delivers all essential information without any filler. Every word contributes to understanding the tool's purpose, making it an exemplary concise description.

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 simple get-by-id operation, the presence of a full output schema, and strong annotations, the description is sufficient. It correctly identifies the tool's purpose and key identifier, and no critical operational details are 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?

The schema description for 'criterio_id' is thorough, explaining the source (es_search_teac_doctrine) and providing an example format, giving 100% coverage. The tool description itself merely restates 'by its DYCTEA id,' adding no further semantic value 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 clearly states the action ('Fetch'), the resource ('one TEAC criterio'), and the distinguishing scope ('with the full resolution text', 'by its DYCTEA id'). This differentiates it from sibling get-tools that target other document types, making the purpose unambiguous.

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?

The description implies the tool is used when you have a specific DYCTEA id, and the schema explicitly references es_search_teac_doctrine as the source of that id, providing clear context. However, it does not explicitly name alternatives or exclusions, so it stops short of a 5.

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/matematicsolutions/es-eli-mcp'

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