Skip to main content
Glama
Consulta Boletines Oficiales - Legislación consolidada

Consulta Boletines Oficiales - Legislación consolidada

tedh_pedir_permiso

Requests explicit user authorization before the first HUDOC access in a session, so ECHR judgments can be verified only after consent; it does not query HUDOC.

Instructions

REGLA DE ORO: sin haber verificado una sentencia del Tribunal Europeo de Derechos Humanos (TEDH, Estrasburgo) en HUDOC NO puedes afirmar NADA de ella — ni número de demanda, ni fecha, ni ECLI, ni contenido, ni "de memoria" ni "porque está muy citada": di únicamente que no has podido verificarla. OBLIGATORIA antes de abrir o consultar HUDOC (hudoc.echr.coe.int) con tu navegador por PRIMERA VEZ en esta sesión de Claude Desktop, salvo que el usuario ya haya escrito en esta conversación un «autorizo» explícito para consultar HUDOC o el TEDH (eso basta; un «autorizo» para el CENDOJ NO vale para HUDOC): ofrece al usuario una ventana emergente pidiéndole confirmación explícita, pero puede que su cliente no la muestre (el servidor no puede saberlo). Antes de llamarla, en una frase di qué vas a buscar y pásalo en "motivo". Después pregúntale SIEMPRE también por texto, corto y literal («¿Autorizas que consulte HUDOC, la base del Tribunal Europeo de Derechos Humanos (hudoc.echr.coe.int), con mi navegador? Responde sí o no.»), y ESPERA la respuesta: solo si autoriza (por la ventana, que llegará como mensaje suyo, o por texto) puedes navegar a HUDOC; si no autoriza, no responde o no tienes navegador, no lo abras y da el enlace https://hudoc.echr.coe.int/spa con instrucciones para que lo consulte él. Una vez concedido, el permiso vale hasta que el usuario cierre Claude Desktop: no vuelvas a llamar a esta herramienta ni a preguntarle en cada consulta; si el usuario lo retira, deja de consultar HUDOC. Esta herramienta NO consulta HUDOC: solo pide el permiso; el conector nunca accede a HUDOC (no tiene API publicada, y el aviso legal del TEDH solo permite reproducir sus textos para uso privado o de información y educación). SOLO aplica si dispones de una herramienta de navegación real (p. ej. Claude en Chrome, disponible solo en los planes de pago de Claude): si solo tienes búsqueda web general (web_search/web_fetch), no llames a esta herramienta, no busques y da el enlace con instrucciones — una autorización NO convierte la búsqueda web general en una vía válida. LÍMITES (aviso legal del TEDH: sus textos solo se pueden reproducir para uso privado o de información y educación, gratis y citando «© ECHR-CEDH»; cualquier otro uso, y en especial el comercial, exige su permiso escrito; las traducciones no oficiales pueden ser de otro titular): solo las consultas puntuales necesarias para lo que el usuario ha pedido, con una pausa entre ellas; NUNCA descargas masivas o en bloque, ni recorrer listados completos, ni conservar, copiar enteras o redistribuir sentencias, ni uso comercial; cita solo pasajes breves que hayas leído, con su número de apartado y la fuente «© ECHR-CEDH». Busca por número de demanda, ECLI o materia, NUNCA por el nombre de una persona física (muchas sentencias del TEDH llevan el nombre completo del demandante). Usa siempre https://hudoc.echr.coe.int/spa y solo con una herramienta de navegación real (p. ej. Claude en Chrome, disponible solo en los planes de pago de Claude y solo en Google Chrome); la búsqueda web general (web_search/web_fetch) nunca vale para HUDOC, ni con autorización. Las versiones auténticas son la inglesa y la francesa; la traducción al castellano (cuando existe, la del Gobierno español) no es oficial: dilo al citarla. Una sentencia del TEDH no es una norma: dilo, y da su enlace de HUDOC (con su itemid, p. ej. …/spa?i=001-…, tal como aparece en HUDOC, nunca construido ni de memoria), su número de demanda y su ECLI. Sin haber verificado una sentencia del TEDH en HUDOC con ese navegador, no la nombres ni afirmes nada de ella.

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

Input Schema

NameRequiredDescriptionDefault
motivoNoQué vas a buscar en HUDOC y por qué, en una frase (se muestra al usuario en la ventana).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.7.5

TDQS

A4.5/5.0
Behavior5/5

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

It discloses behavior well beyond the annotations: the popup may not appear, a textual confirmation must also be requested and awaited, permission lasts until Claude Desktop is closed, and the tool itself never accesses HUDOC. It also adds legal and operational constraints such as no bulk downloads, no searching by a person's name, required citation form, and using only a real browser-navigation tool.

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 core rule is front-loaded, but the description is very long and repeats several points, especially that the tool does not consult HUDOC and that general web search is invalid. The repetition serves a compliance purpose but reduces conciseness and makes the text denser than necessary.

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 high-stakes permission workflow and the absence of an output schema, the description covers what the tool does, how permission is obtained and scoped, what to do when authorization or browser access is unavailable, and the legal limits on later HUDOC use. An agent has enough information to call it correctly and to avoid misusing it.

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?

There is only one parameter, and the schema description already explains that "motivo" is the reason shown to the user. The description adds the instruction to phrase it in one sentence before calling, but does not add new format or semantic detail beyond the schema. With 100% schema coverage, the baseline score of 3 is appropriate.

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 states a specific action and resource: it asks the user for permission to consult HUDOC, and explicitly says "Esta herramienta NO consulta HUDOC: solo pide el permiso." It also distinguishes its HUDOC scope from CENDOJ authorization and from sibling permission tools by domain.

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?

It gives explicit when/when-not rules: call before the first HUDOC access in a session unless the user already gave an explicit HUDOC/TEDH authorization, do not call again after permission is granted, and never use it when only general web_search/web_fetch is available. It also specifies the fallback when authorization fails: provide the HUDOC link and instructions instead.

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