Skip to main content
Glama

graphify_trazar_camino

Read-only

Trace minimum relational paths between two legal concepts or norms to identify subsumption chains and dogmatic argumentation, optionally restricting results to substantive legal layers.

Instructions

Calcula y traza los caminos relacionales mínimos entre dos conceptos o normas jurídicas en LegalGraphify, deduciendo cadenas de subsunción y argumentación dogmática. Con solo_sustantivo=True usa la capa sustantiva del grafo multiplex (excluye puentes bibliográficos de autor, obra o revista).

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": {
      "origen": "<origen>",
      "destino": "<destino>"
    },
    "name": "graphify_trazar_camino"
  }
}

Input Schema

NameRequiredDescriptionDefault
origenYesConcepto o norma jurídica de inicio (ej. 'simulacion', 'incumplimiento')
destinoYesConcepto o norma jurídica de fin (ej. 'nulidad', 'indemnizacion')
max_caminosNoNúmero máximo de rutas mínimas a retornar (por defecto 3)
solo_sustantivoNoSi es True, prioriza rutas jurídicas sustantivas excluyendo súper-hubs editoriales (por defecto False)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.16.0
    • addedInput schema / properties / solo_sustantivo
      Added value: +{
      +  "default": false,
      +  "description": "Si es True, prioriza rutas jurídicas sustantivas excluyendo súper-hubs editoriales (por defecto False)",
      +  "type": "boolean"
      +}
  2. First observedv1.5.1

TDQS

A3.7/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 by explaining that the underlying graph is multiplex and that solo_sustantivo switches to the substantive layer, excluding author/work/journal bibliographic bridges — context an agent could not infer from annotations.

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?

Two dense sentences with the core operation front-loaded and the layer-switching detail second. Slight redundancy with the schema's own description of solo_sustantivo, but no filler or repetition that would justify a lower score.

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

Completeness3/5

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

There is no output schema, yet the description only implies the return value ('traza los caminos', 'cadenas de subsunción') without saying what a path contains, whether it is a node/edge list, or how empty results behave. With annotations and full schema coverage doing much of the work, this is adequate but leaves a real gap for a read tool whose entire value is the returned paths.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3. The description goes beyond the schema by clarifying what the substantive layer actually means (multiplex graph, exclusion of author/work/journal bridges), which sharpens the semantics of solo_sustantivo; max_caminos and the two endpoints are left entirely to the schema.

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+resource: 'calcula y traza los caminos relacionales mínimos entre dos conceptos o normas jurídicas', plus the added notion of subsumption/argumentation chains. This clearly separates it from analytical siblings such as graphify_analizar_impacto, though it never names or contrasts with them explicitly.

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

Usage Guidelines3/5

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

Usage is implied by the two-endpoint framing (use it when you need to connect an origin concept to a destination concept), but there is no explicit when-to-use vs. alternative guidance, no prerequisites, and no statement about what to do when no path exists or how it differs from graphify_consulta_subgrafo.

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