Skip to main content
Glama

recurso_proteccion_generar

Generate a standardized Chilean protección appeal under Supreme Court Auto Acordado and OJV rules, producing editable Word and structured files plus a consolidated PDF for filing.

Instructions

Genera y estandariza un Recurso de Protección conforme al Auto Acordado de la Corte Suprema (Acta N.° 94-2015) y OJV. Entrega el documento de trabajo en Word (.docx, editable) junto a los formatos estructurados (.md, .html, .txt, .json); el PDF consolidado (carátula OJV + anexos con marcadores TOC) es para presentación.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
anexosNoLista de anexos probatorios: [{'num': 'ANEXO N.° 1', 'title': '...', 'desc': '...', 'path': 'ruta.pdf'}]
hechosYesCronología de hechos numerados. Cada elemento puede ser texto o dict con 'texto' y 'anexo' (ej. 'Anexo 1')
oficiosNoLista de oficios solicitados bajo apercibimiento del Numeral 5.°: [{'organismo': '...', 'materia': '...'}]
tribunalYesCorte de Apelaciones competente (ej. 'Ilustrísima Corte de Apelaciones de Santiago')
garantiasYesGarantías del Art. 19 CPR invocadas (ej. ['19_1', '19_2', '19_3_5', '19_10', '19_24'])
recurridoYesDatos de la recurrida: nombre, rut (opcional o 'se desconoce'), domicilio (opcional), email (opcional), representante_legal (opcional)
fecha_actoYesFecha del acto lesivo o de su conocimiento fehaciente (formato YYYY-MM-DD) para cómputo fatal de 30 días corridos
recurrenteYesDatos del recurrente: nombre, run, domicilio, email, profesion_oficio, representado_nombre (opcional), representado_run (opcional)
acto_lesivoYesDescripción precisa del acto u omisión arbitrario e ilegal impugnado
compilar_pdfNoSi es True, compila automáticamente el PDF principal y el dossier consolidado con anexos y marcadores TOC
quinto_otrosiNoQuinto otrosí especial opcional: {'titulo': '...', 'contenido': '...'}
petitorio_concretoNoPeticiones concretas específicas (opcional)
fecha_interposicionNoFecha de interposición (opcional, por defecto hoy YYYY-MM-DD)
orden_de_no_innovarNoConfiguración de la ONI: solicita (bool), fumus_boni_iuris, periculum_in_mora, medida_suspension
estatutos_especialesNoEstatutos protectores especiales (ej. ['ninez_21430', 'tea_21545', 'deporte_19712_ds22', 'denuncia_cpp'])

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.5.11

TDQS

A3.6/5.0
Behavior4/5

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

Annotations only mark this as a non-read-only, closed-world, non-destructive operation, so the description carries most of the burden — and it delivers by enumerating the concrete artifacts (editable .docx, structured .md/.html/.txt/.json, consolidated PDF with OJV cover and TOC bookmarks) and distinguishing work product from presentation copy. It omits where files are written, overwrite behavior, and auth/permission needs, which keeps it out of the top band.

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, zero filler: purpose and legal basis first, then the deliverables, with the editable-vs-presentation distinction front-loaded inside the second sentence. Every clause earns its place, especially given there is no output schema to carry the return-value 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?

For a 15-parameter, nested-object generation tool with no output schema, the description adequately covers what the agent gets back (the file set) and under which legal standard. The remaining gap is operational: output destination, whether existing files are overwritten, and any precondition on anexos paths are unstated.

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 every one of the 15 parameters (anexos, hechos, oficios, garantias, orden_de_no_innovar, etc.) is documented in the schema itself. The description adds no syntax, format, or dependency detail beyond that, so the 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?

Specific verb+resource: 'Genera y estandariza un Recurso de Protección' with the governing standard named (Auto Acordado Acta N.° 94-2015, OJV). An agent knows exactly what artifact this produces. However it does not differentiate itself from plausible siblings like generar_documento, compile_legal_dossier or export_brief_ojv, so it stops 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 Guidelines2/5

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

The description says what the tool produces but never states when to choose it over the other document-generation/compilation siblings in the list. There is no condition, prerequisite, or exclusion — usage has to be inferred from the name alone.

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