Skip to main content
Glama

jurimetria_exportar_investigacion

Exports a reproducible legal-research package: CSV tables, GraphML graphs, Parquet, a blind stratified validation sample with intercoder metrics, methodology notes and BibTeX citations.

Instructions

Exporta un paquete reproducible de investigación jurídica académica para artículos, tesis o ponencias: genera tablas CSV (R/Stata/Python), red GraphML (Gephi/Cytoscape), Apache Parquet (si pyarrow está instalado), muestra estratificada ciega para validación intercodificador (precisión, cobertura, F1 y κ de Cohen), METODOLOGIA_REPRODUCIBLE.md con revisión fijada de Hugging Face y citas BibTeX listas en referencia.bib.

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": {
      "tema": "<tema>"
    },
    "name": "jurimetria_exportar_investigacion"
  }
}

Input Schema

NameRequiredDescriptionDefault
temaYesInstitución, norma o materia central a exportar (ej. 'simulacion', 'Art. 2314 CC', 'dano moral' o 'corpus')
semillaNoSemilla aleatoria fija para reproducibilidad
formatosNoFormatos a exportar (por defecto ['csv', 'graphml', 'parquet', 'json', 'md', 'bib'])
n_muestraNoTamaño de la muestra estratificada de validación humana
carpeta_salidaNoCarpeta local donde se escribirá el paquete reproducible (si se omite, se crea bajo exports/investigacion/)
coleccion_longitudinalNoColección para las estadísticas longitudinales y muestra de validación ('cs', 'tc', 'ta', 'doc'; por defecto 'cs')cs

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.17.0
    • changedInput schema / properties / n_muestra / description
      Previous value: -"Tamaño de la muestra estratificada de validación humana (por defecto 50)"New value: +"Tamaño de la muestra estratificada de validación humana"
    • changedInput schema / properties / semilla / description
      Previous value: -"Semilla aleatoria fija para reproducibilidad (por defecto 42)"New value: +"Semilla aleatoria fija para reproducibilidad"
  2. Addedv1.16.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false and destructiveHint=false but say nothing about what the call actually produces or depends on. The description fills that gap: it names every generated artifact, discloses a conditional dependency ('si pyarrow está instalado'), and states that the Hugging Face revision is pinned, which explains the determinism contract. It does not state runtime cost, failure modes, or what happens if carpeta_salida already exists.

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?

Purpose is front-loaded in the opening clause and everything after the colon is a concrete artifact list, so no sentence is padding. The cost is that it is a single very long sentence with stacked parentheticals, which is dense to parse even though each item earns its place.

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?

For a six-parameter, file-producing tool with no output schema, the description covers the essential contract: what is written, where it goes, and what makes it reproducible. Missing are the return value/paths behavior, error handling when optional formats fail, and rough execution scale — minor gaps for a tool whose parameters are fully documented.

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 coverage is 100%, so all six parameters are already documented with defaults and examples in the schema. The description reinforces intent — reproducible seed, stratified blind sample, multiple output formats — but adds no parameter-level detail such as the semantics of 'coleccion_longitudinal' values or how 'formatos' interacts with the pyarrow dependency.

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?

The description opens with a specific verb and resource — 'Exporta un paquete reproducible de investigación jurídica académica' — then enumerates the concrete artifacts produced (CSV, GraphML, Parquet, blind stratified sample, METODOLOGIA_REPRODUCIBLE.md, referencia.bib). An agent can tell this is a packaging/export tool rather than an analysis tool. It never names the sibling it differs from (e.g., jurimetria_analizar_corpus), so it stops short of full sibling differentiation.

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 target scenarios are stated explicitly: 'para artículos, tesis o ponencias', giving a clear context in which to reach for this tool. It offers no exclusions, no prerequisites, and no named alternative for related tasks such as corpus analysis, so the agent must infer when not to use it.

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