Skip to main content
Glama

gnn_predecir_enlaces

Read-only

Predict missing or expected legal links—norms, jurisprudence, doctrine—with a local graph neural network; get ranked candidates plus a mandatory citation-verification warning.

Instructions

Predice concordancias normativas, jurisprudencia e instituciones doctrinales faltantes o estructuralmente esperadas sobre LegalGraphify usando la Red Neuronal de Grafos local (LegalGNN, int8). Devuelve candidatos ordenados por probabilidad (0-1) con advertencia de verificación literal obligatoria vía cita_texto.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "nodo_o_consulta": "<nodo_o_consulta>"
    },
    "name": "gnn_predecir_enlaces"
  }
}

Input Schema

NameRequiredDescriptionDefault
top_kNoNúmero máximo de enlaces predichos a devolver (por defecto 10)
relacionNoFamilia de relación a predecir ('norma', 'juris', 'estruct' o 'todas'; por defecto 'norma')norma
tipos_destinoNoFiltro opcional por tipo de nodo destino (ej. ['norma', 'articulo_legal', 'sentencia_cs'])
nodo_o_consultaYesNorma, ID de nodo o institución jurídica a analizar (ej. 'Art. 2314 Código Civil', 'Art. 161 Código del Trabajo', 'precario')
incluir_existentesNoSi es True, incluye también enlaces ya existentes en el grafo junto a los nuevos predichos

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so safety is covered. The description adds real value beyond that: it names the local int8 GNN backend and discloses the return shape (candidates ranked by probability 0-1) plus a caveat that predictions are not authoritative and require literal verification. It does not discuss model limits, determinism, or cost/runtime, which keeps it from a 5.

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 filler, and the critical facts are front-loaded: what is predicted, where, with which model, what comes back, and the verification obligation. Nothing could be removed without losing information.

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?

With five well-described parameters, no output schema, and annotations covering the safety profile, the definition covers what an agent needs: output format (ranked 0-1 candidates), the model used, and the verification requirement. It lacks any note on scale or limits of the predictions or on how candidates should be prioritized, but is otherwise complete.

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 all five parameters are documented in the schema, including the relacion enum and defaults, so the description need not compensate. It adds only the general notion of ranked candidates, not per-parameter meaning. Baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb ('Predice') and resource ('concordancias normativas, jurisprudencia e instituciones doctrinales faltantes o estructuralmente esperadas') on a named target (LegalGraphify) using a named local model (LegalGNN, int8). An agent can tell what it produces. It does not differentiate from the related sibling gnn_auditar_brechas_escrito, so it falls short of a 5.

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 establishes the use case (finding missing or structurally expected links) and mandates a follow-up step: literal verification via cita_texto. It gives no explicit exclusions or guidance on when the alternative gnn_auditar_brechas_escrito or plain search tools would be preferred.

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

Deploy Server

Other Tools