Skip to main content
Glama

presupuestos.red

Inspecciona la estructura de un concepto

inspeccionar_componentes_apu
Read-onlyIdempotent

Devuelve el concepto y su ruta de partidas, filas directas con coeficiente, operación, datos de catálogo y costos del motor, y referencias citables. Pasa el sourceId de una fila como occurrenceId para abrir su matriz ordinaria y ver sus ancestros; las ramas hermanas, los costos horarios y los cargos porcentuales quedan cerrados. nextCursor continúa la página del mismo alcance. completeness indica el grado de expansión. Usa el contexto del presupuesto abierto. El acceso depende de la cuenta propietaria, de que el documento sea público o del enlace de lectura vigente. No guarda cambios ni emite una opinión profesional.

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": {
      "conceptoId": "<conceptoId>",
      "expectedContext": "<expectedContext>",
      "presupuestoId": "<presupuestoId>",
      "version": "<version>",
      "context": "<context>"
    },
    "name": "inspeccionar_componentes_apu"
  }
}

Input Schema

NameRequiredDescriptionDefault
cursorNoPosición desde la que se retoma la lectura. Usa nextCursor de la página anterior.
contextYesA few words on why you are calling this tool, for the server developer's analytics. Describe people and things by role, such as "a customer". Do not quote the user or include names, emails, or other personal details.
versionYesNúmero de la revisión publicada que quieres consultar. Usa el que acompaña al presupuesto en el contexto del visor.
llm_modelNoThe model identifier you are running as, for example "claude-opus-4-8" or "gpt-5.2". Pass "unknown" if you are not certain. Recorded for the server developer's analytics.
conceptoIdYesID de concepto devuelto como conceptoId en buscar_conceptos o conceptId en la tabla presupuesto. Usa el ID interno del mismo documento.
occurrenceIdNosourceId de la fila de una matriz ordinaria devuelta por inspeccionar_componentes_apu. Úsalo para abrir esa rama del concepto.
presupuestoIdYesIdentifica el documento. Tómalo del contexto que devuelve el visor al importar o abrir el presupuesto.
readSharePathNoEnlace que da acceso de lectura a un presupuesto compartido. Para un documento privado compartido, toma este valor del contexto con el que lo abriste.
conversation_idNoThe conversation_id this server returned earlier in this conversation, unchanged, including after later user messages. Omit it if you have none. Recorded for the server developer's analytics.
expectedContextYesCopia el objeto context de la consulta que sustenta la solicitud.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "completeness": {
      -        "$ref": "#/$defs/__schema14",
      -        "description": "Grado de expansión de la estructura. Una página final puede dejar ramas sin abrir."
      -      },
      -      "concept": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "code": {
      -            "$ref": "#/$defs/__schema2"
      -          },
      -          "declaredUnitPrice": {
      -            "$ref": "#/$defs/__schema10",
      -            "description": "Precio unitario declarado en el presupuesto."
      -          },
      -          "description": {
      -            "$ref": "#/$defs/__schema2"
      -          },
      -          "engine": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "directCostUnit": {
      -                "$ref": "#/$defs/__schema5",
      -                "description": "Costo directo por unidad de concepto calculado por el motor."
      -              },
      -              "sourceId": {
      -                "$ref": "#/$defs/__schema2"
      -              },
      -              "unitPrice": {
      -                "$ref": "#/$defs/__schema5",
      -                "description": "Precio unitario calculado por el motor, cuando está disponible."
      -              }
      -            },
      -            "required": [
      -              "sourceId"
      -            ],
      -            "type": "object"
      -          },
      -          "id": {
      -            "$ref": "#/$defs/__schema2"
      -          },
      -          "quantity": {
      -            "$ref": "#/$defs/__schema10"
      -          },
      -          "sourceId": {
      -            "$ref": "#/$defs/__schema2",
      -            "description": "Referencia citable del concepto."
      -          },
      -          "structure": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "catalogDescription": {
      -                "$ref": "#/$defs/__schema2"
      -              },
      -              "catalogId": {
      -                "$ref": "#/$defs/__schema4"
      -              },
      -              "compositionStatus": {
      -                "enum": [
      -                  "declared_matrix",
      -                  "not_declared",
      -                  "cost_hourly",
      -                  "percentage_charge"
      -                ],
      -                "type": "string"
      -              },
      -              "effectiveDescription": {
      -                "$ref": "#/$defs/__schema2"
      -              },
      -              "isCostHourly": {
      -                "$ref": "#/$defs/__schema11"
      -              },
      -              "wbs": {
      -                "items": {
      -                  "additionalProperties": false,
      -                  "properties": {
      -                    "code": {
      -                      "$ref": "#/$defs/__schema2"
      -                    },
      -                    "description": {
      -                      "$ref": "#/$defs/__schema2"
      -                    },
      -                    "nodeId": {
      -                      "$ref": "#/$defs/__schema4"
      -                    }
      -                  },
      -                  "required": [
      -                    "nodeId",
      -                    "code",
      -                    "description"
      -                  ],
      -                  "type": "object"
      -                },
      -                "type": "array"
      -              }
      -            },
      -            "required": [
      -              "catalogId",
      -              "catalogDescription",
      -              "effectiveDescription",
      -              "wbs",
      -              "isCostHourly",
      -              "compositionStatus"
      -            ],
      -            "type": "object"
      -          },
      -          "unit": {
      -            "$ref": "#/$defs/__schema2"
      -          }
      -        },
      -        "required": [
      -          "sourceId",
      -          "id",
      -          "code",
      -          "description",
      -          "unit",
      -          "quantity",
      -          "declaredUnitPrice",
      -          "engine",
      -          "structure"
      -        ],
      -        "type": "object"
      -      },
      -      "context": {
      -        "$ref": "#/$defs/__schema0"
      -      },
      -      "diagnostics": {
      -        "description": "Motivos o límites observados al inspeccionar la estructura.",
      -        "items": {
      -          "$ref": "#/$defs/__schema2"
      -        },
      -        "type": "array"
      -      },
      -      "nextCursor": {
      -        "anyOf": [
      -          {
      -            "$ref": "#/$defs/__schema4"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "Posición para continuar la misma lectura. Es null si no hay otra página."
      -      },
      -      "occurrences": {
      -        "description": "Filas del APU visibles en el alcance, con ruta y referencias de catálogo y cálculo.",
      -        "items": {
      -          "$ref": "#/$defs/__schema15"
      -        },
      -        "type": "array"
      -      },
      -      "opusDbfDirectCost": {
      -        "$ref": "#/$defs/__schema8",
      -        "description": "CD unitario por canal y renglones de F.DBF vinculados con occurrences vigentes de la página. La evidencia de filas de origen se consulta con consultar_apu."
      -      },
      -      "pageStatus": {
      -        "description": "Indica si la página agotó las filas del alcance, si quedan más o si el alcance no admite paginación.",
      -        "enum": [
      -          "complete",
      -          "more_available",
      -          "not_applicable"
      -        ],
      -        "type": "string"
      -      },
      -      "scope": {
      -        "additionalProperties": false,
      -        "description": "Rama consultada e indicación de si se incluyeron sus ancestros o se omitieron ramas hermanas.",
      -        "properties": {
      -          "ancestorsIncluded": {
      -            "$ref": "#/$defs/__schema11"
      -          },
      -          "mode": {
      -            "$ref": "#/$defs/__schema12"
      -          },
      -          "selectedOccurrenceId": {
      -            "$ref": "#/$defs/__schema13"
      -          },
      -          "siblingBranchesOmitted": {
      -            "$ref": "#/$defs/__schema11"
      -          }
      -        },
      -        "required": [
      -          "mode",
      -          "selectedOccurrenceId",
      -          "ancestorsIncluded",
      -          "siblingBranchesOmitted"
      -        ],
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "context",
      -      "concept",
      -      "scope",
      -      "nextCursor",
      -      "pageStatus",
      -      "completeness",
      -      "occurrences",
      -      "diagnostics"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "code": {
      -        "$ref": "#/$defs/__schema2",
      -        "description": "Código que identifica el motivo del rechazo."
      -      },
      -      "context": {
      -        "$ref": "#/$defs/__schema0"
      -      },
      -      "currentContext": {
      -        "$ref": "#/$defs/__schema0",
      -        "description": "Contexto vigente que puedes reutilizar para corregir la solicitud, cuando está disponible."
      -      },
      -      "details": {
      -        "$ref": "#/$defs/__schema19",
      -        "description": "Datos que ubican la causa del rechazo, si están disponibles."
      -      },
      -      "message": {
      -        "$ref": "#/$defs/__schema2"
      -      },
      -      "nextAction": {
      -        "$ref": "#/$defs/__schema20",
      -        "description": "Instrucción de recuperación y, cuando corresponde, herramienta y argumentos para seguirla."
      -      },
      -      "recoverable": {
      -        "$ref": "#/$defs/__schema11",
      -        "description": "Indica si la operación permite corregir la solicitud o el contexto y volver a intentar."
      -      },
      -      "status": {
      -        "description": "Resultado del rechazo. stale indica que debes volver a leer el contexto vigente.",
      -        "enum": [
      -          "rejected",
      -          "stale"
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "status",
      -      "code",
      -      "recoverable"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "completeness": {
      +        "$ref": "#/$defs/__schema14",
      +        "description": "Grado de expansión de la estructura. Una página final puede dejar ramas sin abrir."
      +      },
      +      "componentDirectCost": {
      +        "$ref": "#/$defs/__schema8",
      +        "description": "CD unitario por canal y renglones vinculados con occurrences vigentes de la página. La evidencia de filas de origen se consulta con consultar_apu."
      +      },
      +      "concept": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "code": {
      +            "$ref": "#/$defs/__schema2"
      +          },
      +          "declaredUnitPrice": {
      +            "$ref": "#/$defs/__schema10",
      +            "description": "Precio unitario declarado en el presupuesto."
      +          },
      +          "description": {
      +            "$ref": "#/$defs/__schema2"
      +          },
      +          "engine": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "directCostUnit": {
      +                "$ref": "#/$defs/__schema5",
      +                "description": "Costo directo por unidad de concepto calculado por el motor."
      +              },
      +              "sourceId": {
      +                "$ref": "#/$defs/__schema2"
      +              },
      +              "unitPrice": {
      +                "$ref": "#/$defs/__schema5",
      +                "description": "Precio unitario calculado por el motor, cuando está disponible."
      +              }
      +            },
      +            "required": [
      +              "sourceId"
      +            ],
      +            "type": "object"
      +          },
      +          "id": {
      +            "$ref": "#/$defs/__schema2"
      +          },
      +          "quantity": {
      +            "$ref": "#/$defs/__schema10"
      +          },
      +          "sourceId": {
      +            "$ref": "#/$defs/__schema2",
      +            "description": "Referencia citable del concepto."
      +          },
      +          "structure": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "catalogDescription": {
      +                "$ref": "#/$defs/__schema2"
      +              },
      +              "catalogId": {
      +                "$ref": "#/$defs/__schema4"
      +              },
      +              "compositionStatus": {
      +                "enum": [
      +                  "declared_matrix",
      +                  "not_declared",
      +                  "cost_hourly",
      +                  "percentage_charge"
      +                ],
      +                "type": "string"
      +              },
      +              "effectiveDescription": {
      +                "$ref": "#/$defs/__schema2"
      +              },
      +              "isCostHourly": {
      +                "$ref": "#/$defs/__schema11"
      +              },
      +              "wbs": {
      +                "items": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "code": {
      +                      "$ref": "#/$defs/__schema2"
      +                    },
      +                    "description": {
      +                      "$ref": "#/$defs/__schema2"
      +                    },
      +                    "nodeId": {
      +                      "$ref": "#/$defs/__schema4"
      +                    }
      +                  },
      +                  "required": [
      +                    "nodeId",
      +                    "code",
      +                    "description"
      +                  ],
      +                  "type": "object"
      +                },
      +                "type": "array"
      +              }
      +            },
      +            "required": [
      +              "catalogId",
      +              "catalogDescription",
      +              "effectiveDescription",
      +              "wbs",
      +              "isCostHourly",
      +              "compositionStatus"
      +            ],
      +            "type": "object"
      +          },
      +          "unit": {
      +            "$ref": "#/$defs/__schema2"
      +          }
      +        },
      +        "required": [
      +          "sourceId",
      +          "id",
      +          "code",
      +          "description",
      +          "unit",
      +          "quantity",
      +          "declaredUnitPrice",
      +          "engine",
      +          "structure"
      +        ],
      +        "type": "object"
      +      },
      +      "context": {
      +        "$ref": "#/$defs/__schema0"
      +      },
      +      "diagnostics": {
      +        "description": "Motivos o límites observados al inspeccionar la estructura.",
      +        "items": {
      +          "$ref": "#/$defs/__schema2"
      +        },
      +        "type": "array"
      +      },
      +      "nextCursor": {
      +        "anyOf": [
      +          {
      +            "$ref": "#/$defs/__schema4"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Posición para continuar la misma lectura. Es null si no hay otra página."
      +      },
      +      "occurrences": {
      +        "description": "Filas del APU visibles en el alcance, con ruta y referencias de catálogo y cálculo.",
      +        "items": {
      +          "$ref": "#/$defs/__schema15"
      +        },
      +        "type": "array"
      +      },
      +      "pageStatus": {
      +        "description": "Indica si la página agotó las filas del alcance, si quedan más o si el alcance no admite paginación.",
      +        "enum": [
      +          "complete",
      +          "more_available",
      +          "not_applicable"
      +        ],
      +        "type": "string"
      +      },
      +      "scope": {
      +        "additionalProperties": false,
      +        "description": "Rama consultada e indicación de si se incluyeron sus ancestros o se omitieron ramas hermanas.",
      +        "properties": {
      +          "ancestorsIncluded": {
      +            "$ref": "#/$defs/__schema11"
      +          },
      +          "mode": {
      +            "$ref": "#/$defs/__schema12"
      +          },
      +          "selectedOccurrenceId": {
      +            "$ref": "#/$defs/__schema13"
      +          },
      +          "siblingBranchesOmitted": {
      +            "$ref": "#/$defs/__schema11"
      +          }
      +        },
      +        "required": [
      +          "mode",
      +          "selectedOccurrenceId",
      +          "ancestorsIncluded",
      +          "siblingBranchesOmitted"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "context",
      +      "concept",
      +      "scope",
      +      "nextCursor",
      +      "pageStatus",
      +      "completeness",
      +      "occurrences",
      +      "diagnostics"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "code": {
      +        "$ref": "#/$defs/__schema2",
      +        "description": "Código que identifica el motivo del rechazo."
      +      },
      +      "context": {
      +        "$ref": "#/$defs/__schema0"
      +      },
      +      "currentContext": {
      +        "$ref": "#/$defs/__schema0",
      +        "description": "Contexto vigente que puedes reutilizar para corregir la solicitud, cuando está disponible."
      +      },
      +      "details": {
      +        "$ref": "#/$defs/__schema19",
      +        "description": "Datos que ubican la causa del rechazo, si están disponibles."
      +      },
      +      "message": {
      +        "$ref": "#/$defs/__schema2"
      +      },
      +      "nextAction": {
      +        "$ref": "#/$defs/__schema20",
      +        "description": "Instrucción de recuperación y, cuando corresponde, herramienta y argumentos para seguirla."
      +      },
      +      "recoverable": {
      +        "$ref": "#/$defs/__schema11",
      +        "description": "Indica si la operación permite corregir la solicitud o el contexto y volver a intentar."
      +      },
      +      "status": {
      +        "description": "Resultado del rechazo. stale indica que debes volver a leer el contexto vigente.",
      +        "enum": [
      +          "rejected",
      +          "stale"
      +        ],
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "status",
      +      "code",
      +      "recoverable"
      +    ],
      +    "type": "object"
      +  }
      +]
  2. Changed56 schema fields changed
    • addedOutput schema / $defs / __schema10 / anyOf
      Added value: +[
      +  {
      +    "$ref": "#/$defs/__schema5"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / $defs / __schema10 / enum
      Removed value: -[
      -  "direct",
      -  "focused_occurrence"
      -]
    • removedOutput schema / $defs / __schema10 / type
      Removed value: -"string"
    • removedOutput schema / $defs / __schema11 / anyOf
      Removed value: -[
      -  {
      -    "$ref": "#/$defs/__schema2"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / $defs / __schema11 / type
      Added value: +"boolean"
    • changedOutput schema / $defs / __schema12 / enum
      Previous value: -[
      -  "complete",
      -  "partial",
      -  "not_expanded"
      -]New value: +[
      +  "direct",
      +  "focused_occurrence"
      +]
    • removedOutput schema / $defs / __schema13 / additionalProperties
      Removed value: -false
    • addedOutput schema / $defs / __schema13 / anyOf
      Added value: +[
      +  {
      +    "$ref": "#/$defs/__schema2"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / $defs / __schema13 / properties
      Removed value: -{
      -  "catalogId": {
      -    "$ref": "#/$defs/__schema4"
      -  },
      -  "coefficient": {
      -    "$ref": "#/$defs/__schema5",
      -    "description": "Valor declarado que la fila multiplica o divide según operation."
      -  },
      -  "engine": {
      -    "anyOf": [
      -      {
      -        "additionalProperties": false,
      -        "properties": {
      -          "amountPerConceptUnit": {
      -            "$ref": "#/$defs/__schema5",
      -            "description": "Aporte del renglón por unidad de concepto, con los factores de su ruta."
      -          },
      -          "costPerUnit": {
      -            "$ref": "#/$defs/__schema5",
      -            "description": "Costo por unidad del recurso o base del cargo porcentual."
      -          },
      -          "sourceId": {
      -            "$ref": "#/$defs/__schema2"
      -          }
      -        },
      -        "required": [
      -          "sourceId"
      -        ],
      -        "type": "object"
      -      },
      -      {
      -        "type": "null"
      -      }
      -    ]
      -  },
      -  "excluirDeBasePorcentual": {
      -    "const": true,
      -    "type": "boolean"
      -  },
      -  "isCostHourly": {
      -    "$ref": "#/$defs/__schema9"
      -  },
      -  "itemIndex": {
      -    "$ref": "#/$defs/__schema4"
      -  },
      -  "matrixCatalogId": {
      -    "$ref": "#/$defs/__schema4"
      -  },
      -  "operation": {
      -    "description": "Operación que aplica el coeficiente para determinar el consumo.",
      -    "enum": [
      -      "*",
      -      "/"
      -    ],
      -    "type": "string"
      -  },
      -  "resource": {
      -    "anyOf": [
      -      {
      -        "$ref": "#/$defs/__schema14"
      -      },
      -      {
      -        "type": "null"
      -      }
      -    ],
      -    "description": "Datos de catálogo del recurso que usa la fila."
      -  },
      -  "sourceId": {
      -    "$ref": "#/$defs/__schema11",
      -    "description": "Referencia de este renglón. Es null cuando el recurso no resuelve en el catálogo."
      -  },
      -  "structure": {
      -    "additionalProperties": false,
      -    "description": "Ubicación y estado de expansión del renglón dentro del APU.",
      -    "properties": {
      -      "childrenExpansion": {
      -        "$ref": "#/$defs/__schema12"
      -      },
      -      "conceptId": {
      -        "$ref": "#/$defs/__schema4"
      -      },
      -      "hasChildren": {
      -        "$ref": "#/$defs/__schema9"
      -      },
      -      "isPercentageCharge": {
      -        "$ref": "#/$defs/__schema9"
      -      },
      -      "occurrencePath": {
      -        "$ref": "#/$defs/__schema15"
      -      },
      -      "parentOccurrenceId": {
      -        "$ref": "#/$defs/__schema11"
      -      }
      -    },
      -    "required": [
      -      "parentOccurrenceId",
      -      "conceptId",
      -      "occurrencePath",
      -      "hasChildren",
      -      "childrenExpansion",
      -      "isPercentageCharge"
      -    ],
      -    "type": "object"
      -  }
      -}
    • removedOutput schema / $defs / __schema13 / required
      Removed value: -[
      -  "sourceId",
      -  "catalogId",
      -  "matrixCatalogId",
      -  "itemIndex",
      -  "coefficient",
      -  "operation",
      -  "isCostHourly",
      -  "resource",
      -  "engine",
      -  "structure"
      -]
    • removedOutput schema / $defs / __schema13 / type
      Removed value: -"object"
    • removedOutput schema / $defs / __schema14 / additionalProperties
      Removed value: -false
    • addedOutput schema / $defs / __schema14 / enum
      Added value: +[
      +  "complete",
      +  "partial",
      +  "not_expanded"
      +]
    • removedOutput schema / $defs / __schema14 / properties
      Removed value: -{
      -  "code": {
      -    "$ref": "#/$defs/__schema2"
      -  },
      -  "costGroup": {
      -    "enum": [
      -      "ma",
      -      "mo",
      -      "eq",
      -      "other"
      -    ],
      -    "type": "string"
      -  },
      -  "declaredUnitPrice": {
      -    "$ref": "#/$defs/__schema8",
      -    "description": "Costo unitario declarado en el catálogo para este recurso."
      -  },
      -  "description": {
      -    "$ref": "#/$defs/__schema2"
      -  },
      -  "id": {
      -    "$ref": "#/$defs/__schema2"
      -  },
      -  "isCostHourly": {
      -    "$ref": "#/$defs/__schema9"
      -  },
      -  "sourceId": {
      -    "$ref": "#/$defs/__schema2"
      -  },
      -  "unit": {
      -    "$ref": "#/$defs/__schema2"
      -  }
      -}
    • removedOutput schema / $defs / __schema14 / required
      Removed value: -[
      -  "sourceId",
      -  "id",
      -  "code",
      -  "description",
      -  "unit",
      -  "declaredUnitPrice",
      -  "isCostHourly"
      -]
    • changedOutput schema / $defs / __schema14 / type
      Previous value: -"object"New value: +"string"
    • addedOutput schema / $defs / __schema15 / additionalProperties
      Added value: +false
    • removedOutput schema / $defs / __schema15 / description
      Removed value: -"Pasos desde la matriz del concepto hasta el renglón. Cada paso identifica la matriz y la posición de la fila."
    • removedOutput schema / $defs / __schema15 / items
      Removed value: -{
      -  "$ref": "#/$defs/__schema16"
      -}
    • addedOutput schema / $defs / __schema15 / properties
      Added value: +{
      +  "catalogId": {
      +    "$ref": "#/$defs/__schema4"
      +  },
      +  "coefficient": {
      +    "$ref": "#/$defs/__schema5",
      +    "description": "Valor declarado que la fila multiplica o divide según operation."
      +  },
      +  "engine": {
      +    "anyOf": [
      +      {
      +        "additionalProperties": false,
      +        "properties": {
      +          "amountPerConceptUnit": {
      +            "$ref": "#/$defs/__schema5",
      +            "description": "Aporte del renglón por unidad de concepto, con los factores de su ruta."
      +          },
      +          "costPerUnit": {
      +            "$ref": "#/$defs/__schema5",
      +            "description": "Costo por unidad del recurso o base del cargo porcentual."
      +          },
      +          "sourceId": {
      +            "$ref": "#/$defs/__schema2"
      +          }
      +        },
      +        "required": [
      +          "sourceId"
      +        ],
      +        "type": "object"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ]
      +  },
      +  "excluirDeBasePorcentual": {
      +    "const": true,
      +    "type": "boolean"
      +  },
      +  "isCostHourly": {
      +    "$ref": "#/$defs/__schema11"
      +  },
      +  "itemIndex": {
      +    "$ref": "#/$defs/__schema4"
      +  },
      +  "matrixCatalogId": {
      +    "$ref": "#/$defs/__schema4"
      +  },
      +  "operation": {
      +    "description": "Operación que aplica el coeficiente para determinar el consumo.",
      +    "enum": [
      +      "*",
      +      "/"
      +    ],
      +    "type": "string"
      +  },
      +  "resource": {
      +    "anyOf": [
      +      {
      +        "$ref": "#/$defs/__schema16"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ],
      +    "description": "Datos de catálogo del recurso que usa la fila."
      +  },
      +  "sourceId": {
      +    "$ref": "#/$defs/__schema13",
      +    "description": "Referencia de este renglón. Es null cuando el recurso no resuelve en el catálogo."
      +  },
      +  "structure": {
      +    "additionalProperties": false,
      +    "description": "Ubicación y estado de expansión del renglón dentro del APU.",
      +    "properties": {
      +      "childrenExpansion": {
      +        "$ref": "#/$defs/__schema14"
      +      },
      +      "conceptId": {
      +        "$ref": "#/$defs/__schema4"
      +      },
      +      "hasChildren": {
      +        "$ref": "#/$defs/__schema11"
      +      },
      +      "isPercentageCharge": {
      +        "$ref": "#/$defs/__schema11"
      +      },
      +      "occurrencePath": {
      +        "$ref": "#/$defs/__schema17"
      +      },
      +      "parentOccurrenceId": {
      +        "$ref": "#/$defs/__schema13"
      +      }
      +    },
      +    "required": [
      +      "parentOccurrenceId",
      +      "conceptId",
      +      "occurrencePath",
      +      "hasChildren",
      +      "childrenExpansion",
      +      "isPercentageCharge"
      +    ],
      +    "type": "object"
      +  }
      +}
    • addedOutput schema / $defs / __schema15 / required
      Added value: +[
      +  "sourceId",
      +  "catalogId",
      +  "matrixCatalogId",
      +  "itemIndex",
      +  "coefficient",
      +  "operation",
      +  "isCostHourly",
      +  "resource",
      +  "engine",
      +  "structure"
      +]
    • changedOutput schema / $defs / __schema15 / type
      Previous value: -"array"New value: +"object"
    • removedOutput schema / $defs / __schema16 / properties / catalogId
      Removed value: -{
      -  "$ref": "#/$defs/__schema4"
      -}
    • addedOutput schema / $defs / __schema16 / properties / code
      Added value: +{
      +  "$ref": "#/$defs/__schema2"
      +}
    • addedOutput schema / $defs / __schema16 / properties / costGroup
      Added value: +{
      +  "enum": [
      +    "ma",
      +    "mo",
      +    "eq",
      +    "other"
      +  ],
      +  "type": "string"
      +}
    • addedOutput schema / $defs / __schema16 / properties / declaredUnitPrice
      Added value: +{
      +  "$ref": "#/$defs/__schema10",
      +  "description": "Costo unitario declarado en el catálogo para este recurso."
      +}
    • addedOutput schema / $defs / __schema16 / properties / description
      Added value: +{
      +  "$ref": "#/$defs/__schema2"
      +}
    • addedOutput schema / $defs / __schema16 / properties / id
      Added value: +{
      +  "$ref": "#/$defs/__schema2"
      +}
    • addedOutput schema / $defs / __schema16 / properties / isCostHourly
      Added value: +{
      +  "$ref": "#/$defs/__schema11"
      +}
    • removedOutput schema / $defs / __schema16 / properties / itemIndex
      Removed value: -{
      -  "$ref": "#/$defs/__schema4"
      -}
    • addedOutput schema / $defs / __schema16 / properties / sourceId
      Added value: +{
      +  "$ref": "#/$defs/__schema2"
      +}
    • addedOutput schema / $defs / __schema16 / properties / unit
      Added value: +{
      +  "$ref": "#/$defs/__schema2"
      +}
    • changedOutput schema / $defs / __schema16 / required
      Previous value: -[
      -  "catalogId",
      -  "itemIndex"
      -]New value: +[
      +  "sourceId",
      +  "id",
      +  "code",
      +  "description",
      +  "unit",
      +  "declaredUnitPrice",
      +  "isCostHourly"
      +]
    • removedOutput schema / $defs / __schema17 / additionalProperties
      Removed value: -false
    • addedOutput schema / $defs / __schema17 / description
      Added value: +"Pasos desde la matriz del concepto hasta el renglón. Cada paso identifica la matriz y la posición de la fila."
    • addedOutput schema / $defs / __schema17 / items
      Added value: +{
      +  "$ref": "#/$defs/__schema18"
      +}
    • removedOutput schema / $defs / __schema17 / properties
      Removed value: -{
      -  "citationIndex": {
      -    "$ref": "#/$defs/__schema4"
      -  },
      -  "conceptId": {
      -    "$ref": "#/$defs/__schema4"
      -  },
      -  "diagnosticCode": {
      -    "$ref": "#/$defs/__schema2"
      -  },
      -  "expected": {
      -    "anyOf": [
      -      {
      -        "$ref": "#/$defs/__schema2"
      -      },
      -      {
      -        "$ref": "#/$defs/__schema5"
      -      },
      -      {
      -        "$ref": "#/$defs/__schema9"
      -      },
      -      {
      -        "type": "null"
      -      }
      -    ]
      -  },
      -  "factIndex": {
      -    "$ref": "#/$defs/__schema4"
      -  },
      -  "field": {
      -    "$ref": "#/$defs/__schema2"
      -  },
      -  "sourceId": {
      -    "$ref": "#/$defs/__schema2"
      -  },
      -  "supportedSource": {
      -    "$ref": "#/$defs/__schema2"
      -  }
      -}
    • changedOutput schema / $defs / __schema17 / type
      Previous value: -"object"New value: +"array"
    • removedOutput schema / $defs / __schema18 / properties / capability
      Removed value: -{
      -  "$ref": "#/$defs/__schema2"
      -}
    • addedOutput schema / $defs / __schema18 / properties / catalogId
      Added value: +{
      +  "$ref": "#/$defs/__schema4"
      +}
    • removedOutput schema / $defs / __schema18 / properties / input
      Removed value: -{
      -  "additionalProperties": false,
      -  "properties": {
      -    "conceptoId": {
      -      "$ref": "#/$defs/__schema4"
      -    }
      -  },
      -  "required": [
      -    "conceptoId"
      -  ],
      -  "type": "object"
      -}
    • removedOutput schema / $defs / __schema18 / properties / instruction
      Removed value: -{
      -  "$ref": "#/$defs/__schema2"
      -}
    • addedOutput schema / $defs / __schema18 / properties / itemIndex
      Added value: +{
      +  "$ref": "#/$defs/__schema4"
      +}
    • changedOutput schema / $defs / __schema18 / required
      Previous value: -[
      -  "instruction"
      -]New value: +[
      +  "catalogId",
      +  "itemIndex"
      +]
    • addedOutput schema / $defs / __schema19
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "citationIndex": {
      +      "$ref": "#/$defs/__schema4"
      +    },
      +    "conceptId": {
      +      "$ref": "#/$defs/__schema4"
      +    },
      +    "diagnosticCode": {
      +      "$ref": "#/$defs/__schema2"
      +    },
      +    "expected": {
      +      "anyOf": [
      +        {
      +          "$ref": "#/$defs/__schema2"
      +        },
      +        {
      +          "$ref": "#/$defs/__schema5"
      +        },
      +        {
      +          "$ref": "#/$defs/__schema11"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "factIndex": {
      +      "$ref": "#/$defs/__schema4"
      +    },
      +    "field": {
      +      "$ref": "#/$defs/__schema2"
      +    },
      +    "sourceId": {
      +      "$ref": "#/$defs/__schema2"
      +    },
      +    "supportedSource": {
      +      "$ref": "#/$defs/__schema2"
      +    }
      +  },
      +  "type": "object"
      +}
    • addedOutput schema / $defs / __schema20
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "capability": {
      +      "$ref": "#/$defs/__schema2"
      +    },
      +    "input": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "conceptoId": {
      +          "$ref": "#/$defs/__schema4"
      +        }
      +      },
      +      "required": [
      +        "conceptoId"
      +      ],
      +      "type": "object"
      +    },
      +    "instruction": {
      +      "$ref": "#/$defs/__schema2"
      +    }
      +  },
      +  "required": [
      +    "instruction"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / $defs / __schema8 / additionalProperties
      Added value: +false
    • removedOutput schema / $defs / __schema8 / anyOf
      Removed value: -[
      -  {
      -    "$ref": "#/$defs/__schema5"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / $defs / __schema8 / properties
      Added value: +{
      +  "denominations": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "extranjero": {
      +        "$ref": "#/$defs/__schema2"
      +      },
      +      "nacional": {
      +        "$ref": "#/$defs/__schema2"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "effective": {
      +    "$ref": "#/$defs/__schema9"
      +  },
      +  "matrixCatalogId": {
      +    "$ref": "#/$defs/__schema4"
      +  },
      +  "observed": {
      +    "$ref": "#/$defs/__schema9"
      +  },
      +  "rows": {
      +    "items": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "catalogId": {
      +          "$ref": "#/$defs/__schema4"
      +        },
      +        "code": {
      +          "$ref": "#/$defs/__schema2"
      +        },
      +        "effective": {
      +          "$ref": "#/$defs/__schema9"
      +        },
      +        "itemIndex": {
      +          "$ref": "#/$defs/__schema4"
      +        },
      +        "observed": {
      +          "$ref": "#/$defs/__schema9"
      +        },
      +        "occurrenceId": {
      +          "$ref": "#/$defs/__schema2"
      +        },
      +        "sourceRecord": {
      +          "$ref": "#/$defs/__schema4"
      +        }
      +      },
      +      "required": [
      +        "itemIndex",
      +        "sourceRecord",
      +        "catalogId",
      +        "code",
      +        "observed",
      +        "effective",
      +        "occurrenceId"
      +      ],
      +      "type": "object"
      +    },
      +    "type": "array"
      +  }
      +}
    • addedOutput schema / $defs / __schema8 / required
      Added value: +[
      +  "matrixCatalogId",
      +  "denominations",
      +  "observed",
      +  "effective",
      +  "rows"
      +]
    • addedOutput schema / $defs / __schema8 / type
      Added value: +"object"
    • addedOutput schema / $defs / __schema9 / additionalProperties
      Added value: +false
    • addedOutput schema / $defs / __schema9 / properties
      Added value: +{
      +  "extranjero": {
      +    "$ref": "#/$defs/__schema10"
      +  },
      +  "nacional": {
      +    "$ref": "#/$defs/__schema10"
      +  }
      +}
    • addedOutput schema / $defs / __schema9 / required
      Added value: +[
      +  "nacional",
      +  "extranjero"
      +]
    • changedOutput schema / $defs / __schema9 / type
      Previous value: -"boolean"New value: +"object"
    • changedOutput schema / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "completeness": {
      -        "$ref": "#/$defs/__schema12",
      -        "description": "Grado de expansión de la estructura. Una página final puede dejar ramas sin abrir."
      -      },
      -      "concept": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "code": {
      -            "$ref": "#/$defs/__schema2"
      -          },
      -          "declaredUnitPrice": {
      -            "$ref": "#/$defs/__schema8",
      -            "description": "Precio unitario declarado en el presupuesto."
      -          },
      -          "description": {
      -            "$ref": "#/$defs/__schema2"
      -          },
      -          "engine": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "directCostUnit": {
      -                "$ref": "#/$defs/__schema5",
      -                "description": "Costo directo por unidad de concepto calculado por el motor."
      -              },
      -              "sourceId": {
      -                "$ref": "#/$defs/__schema2"
      -              },
      -              "unitPrice": {
      -                "$ref": "#/$defs/__schema5",
      -                "description": "Precio unitario calculado por el motor, cuando está disponible."
      -              }
      -            },
      -            "required": [
      -              "sourceId"
      -            ],
      -            "type": "object"
      -          },
      -          "id": {
      -            "$ref": "#/$defs/__schema2"
      -          },
      -          "quantity": {
      -            "$ref": "#/$defs/__schema8"
      -          },
      -          "sourceId": {
      -            "$ref": "#/$defs/__schema2",
      -            "description": "Referencia citable del concepto."
      -          },
      -          "structure": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "catalogDescription": {
      -                "$ref": "#/$defs/__schema2"
      -              },
      -              "catalogId": {
      -                "$ref": "#/$defs/__schema4"
      -              },
      -              "compositionStatus": {
      -                "enum": [
      -                  "declared_matrix",
      -                  "not_declared",
      -                  "cost_hourly",
      -                  "percentage_charge"
      -                ],
      -                "type": "string"
      -              },
      -              "effectiveDescription": {
      -                "$ref": "#/$defs/__schema2"
      -              },
      -              "isCostHourly": {
      -                "$ref": "#/$defs/__schema9"
      -              },
      -              "wbs": {
      -                "items": {
      -                  "additionalProperties": false,
      -                  "properties": {
      -                    "code": {
      -                      "$ref": "#/$defs/__schema2"
      -                    },
      -                    "description": {
      -                      "$ref": "#/$defs/__schema2"
      -                    },
      -                    "nodeId": {
      -                      "$ref": "#/$defs/__schema4"
      -                    }
      -                  },
      -                  "required": [
      -                    "nodeId",
      -                    "code",
      -                    "description"
      -                  ],
      -                  "type": "object"
      -                },
      -                "type": "array"
      -              }
      -            },
      -            "required": [
      -              "catalogId",
      -              "catalogDescription",
      -              "effectiveDescription",
      -              "wbs",
      -              "isCostHourly",
      -              "compositionStatus"
      -            ],
      -            "type": "object"
      -          },
      -          "unit": {
      -            "$ref": "#/$defs/__schema2"
      -          }
      -        },
      -        "required": [
      -          "sourceId",
      -          "id",
      -          "code",
      -          "description",
      -          "unit",
      -          "quantity",
      -          "declaredUnitPrice",
      -          "engine",
      -          "structure"
      -        ],
      -        "type": "object"
      -      },
      -      "context": {
      -        "$ref": "#/$defs/__schema0"
      -      },
      -      "diagnostics": {
      -        "description": "Motivos o límites observados al inspeccionar la estructura.",
      -        "items": {
      -          "$ref": "#/$defs/__schema2"
      -        },
      -        "type": "array"
      -      },
      -      "nextCursor": {
      -        "anyOf": [
      -          {
      -            "$ref": "#/$defs/__schema4"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "Posición para continuar la misma lectura. Es null si no hay otra página."
      -      },
      -      "occurrences": {
      -        "description": "Filas del APU visibles en el alcance, con ruta y referencias de catálogo y cálculo.",
      -        "items": {
      -          "$ref": "#/$defs/__schema13"
      -        },
      -        "type": "array"
      -      },
      -      "pageStatus": {
      -        "description": "Indica si la página agotó las filas del alcance, si quedan más o si el alcance no admite paginación.",
      -        "enum": [
      -          "complete",
      -          "more_available",
      -          "not_applicable"
      -        ],
      -        "type": "string"
      -      },
      -      "scope": {
      -        "additionalProperties": false,
      -        "description": "Rama consultada e indicación de si se incluyeron sus ancestros o se omitieron ramas hermanas.",
      -        "properties": {
      -          "ancestorsIncluded": {
      -            "$ref": "#/$defs/__schema9"
      -          },
      -          "mode": {
      -            "$ref": "#/$defs/__schema10"
      -          },
      -          "selectedOccurrenceId": {
      -            "$ref": "#/$defs/__schema11"
      -          },
      -          "siblingBranchesOmitted": {
      -            "$ref": "#/$defs/__schema9"
      -          }
      -        },
      -        "required": [
      -          "mode",
      -          "selectedOccurrenceId",
      -          "ancestorsIncluded",
      -          "siblingBranchesOmitted"
      -        ],
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "context",
      -      "concept",
      -      "scope",
      -      "nextCursor",
      -      "pageStatus",
      -      "completeness",
      -      "occurrences",
      -      "diagnostics"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "code": {
      -        "$ref": "#/$defs/__schema2",
      -        "description": "Código que identifica el motivo del rechazo."
      -      },
      -      "context": {
      -        "$ref": "#/$defs/__schema0"
      -      },
      -      "currentContext": {
      -        "$ref": "#/$defs/__schema0",
      -        "description": "Contexto vigente que puedes reutilizar para corregir la solicitud, cuando está disponible."
      -      },
      -      "details": {
      -        "$ref": "#/$defs/__schema17",
      -        "description": "Datos que ubican la causa del rechazo, si están disponibles."
      -      },
      -      "message": {
      -        "$ref": "#/$defs/__schema2"
      -      },
      -      "nextAction": {
      -        "$ref": "#/$defs/__schema18",
      -        "description": "Instrucción de recuperación y, cuando corresponde, herramienta y argumentos para seguirla."
      -      },
      -      "recoverable": {
      -        "$ref": "#/$defs/__schema9",
      -        "description": "Indica si la operación permite corregir la solicitud o el contexto y volver a intentar."
      -      },
      -      "status": {
      -        "description": "Resultado del rechazo. stale indica que debes volver a leer el contexto vigente.",
      -        "enum": [
      -          "rejected",
      -          "stale"
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "status",
      -      "code",
      -      "recoverable"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "completeness": {
      +        "$ref": "#/$defs/__schema14",
      +        "description": "Grado de expansión de la estructura. Una página final puede dejar ramas sin abrir."
      +      },
      +      "concept": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "code": {
      +            "$ref": "#/$defs/__schema2"
      +          },
      +          "declaredUnitPrice": {
      +            "$ref": "#/$defs/__schema10",
      +            "description": "Precio unitario declarado en el presupuesto."
      +          },
      +          "description": {
      +            "$ref": "#/$defs/__schema2"
      +          },
      +          "engine": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "directCostUnit": {
      +                "$ref": "#/$defs/__schema5",
      +                "description": "Costo directo por unidad de concepto calculado por el motor."
      +              },
      +              "sourceId": {
      +                "$ref": "#/$defs/__schema2"
      +              },
      +              "unitPrice": {
      +                "$ref": "#/$defs/__schema5",
      +                "description": "Precio unitario calculado por el motor, cuando está disponible."
      +              }
      +            },
      +            "required": [
      +              "sourceId"
      +            ],
      +            "type": "object"
      +          },
      +          "id": {
      +            "$ref": "#/$defs/__schema2"
      +          },
      +          "quantity": {
      +            "$ref": "#/$defs/__schema10"
      +          },
      +          "sourceId": {
      +            "$ref": "#/$defs/__schema2",
      +            "description": "Referencia citable del concepto."
      +          },
      +          "structure": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "catalogDescription": {
      +                "$ref": "#/$defs/__schema2"
      +              },
      +              "catalogId": {
      +                "$ref": "#/$defs/__schema4"
      +              },
      +              "compositionStatus": {
      +                "enum": [
      +                  "declared_matrix",
      +                  "not_declared",
      +                  "cost_hourly",
      +                  "percentage_charge"
      +                ],
      +                "type": "string"
      +              },
      +              "effectiveDescription": {
      +                "$ref": "#/$defs/__schema2"
      +              },
      +              "isCostHourly": {
      +                "$ref": "#/$defs/__schema11"
      +              },
      +              "wbs": {
      +                "items": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "code": {
      +                      "$ref": "#/$defs/__schema2"
      +                    },
      +                    "description": {
      +                      "$ref": "#/$defs/__schema2"
      +                    },
      +                    "nodeId": {
      +                      "$ref": "#/$defs/__schema4"
      +                    }
      +                  },
      +                  "required": [
      +                    "nodeId",
      +                    "code",
      +                    "description"
      +                  ],
      +                  "type": "object"
      +                },
      +                "type": "array"
      +              }
      +            },
      +            "required": [
      +              "catalogId",
      +              "catalogDescription",
      +              "effectiveDescription",
      +              "wbs",
      +              "isCostHourly",
      +              "compositionStatus"
      +            ],
      +            "type": "object"
      +          },
      +          "unit": {
      +            "$ref": "#/$defs/__schema2"
      +          }
      +        },
      +        "required": [
      +          "sourceId",
      +          "id",
      +          "code",
      +          "description",
      +          "unit",
      +          "quantity",
      +          "declaredUnitPrice",
      +          "engine",
      +          "structure"
      +        ],
      +        "type": "object"
      +      },
      +      "context": {
      +        "$ref": "#/$defs/__schema0"
      +      },
      +      "diagnostics": {
      +        "description": "Motivos o límites observados al inspeccionar la estructura.",
      +        "items": {
      +          "$ref": "#/$defs/__schema2"
      +        },
      +        "type": "array"
      +      },
      +      "nextCursor": {
      +        "anyOf": [
      +          {
      +            "$ref": "#/$defs/__schema4"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Posición para continuar la misma lectura. Es null si no hay otra página."
      +      },
      +      "occurrences": {
      +        "description": "Filas del APU visibles en el alcance, con ruta y referencias de catálogo y cálculo.",
      +        "items": {
      +          "$ref": "#/$defs/__schema15"
      +        },
      +        "type": "array"
      +      },
      +      "opusDbfDirectCost": {
      +        "$ref": "#/$defs/__schema8",
      +        "description": "CD unitario por canal y renglones de F.DBF vinculados con occurrences vigentes de la página. La evidencia de filas de origen se consulta con consultar_apu."
      +      },
      +      "pageStatus": {
      +        "description": "Indica si la página agotó las filas del alcance, si quedan más o si el alcance no admite paginación.",
      +        "enum": [
      +          "complete",
      +          "more_available",
      +          "not_applicable"
      +        ],
      +        "type": "string"
      +      },
      +      "scope": {
      +        "additionalProperties": false,
      +        "description": "Rama consultada e indicación de si se incluyeron sus ancestros o se omitieron ramas hermanas.",
      +        "properties": {
      +          "ancestorsIncluded": {
      +            "$ref": "#/$defs/__schema11"
      +          },
      +          "mode": {
      +            "$ref": "#/$defs/__schema12"
      +          },
      +          "selectedOccurrenceId": {
      +            "$ref": "#/$defs/__schema13"
      +          },
      +          "siblingBranchesOmitted": {
      +            "$ref": "#/$defs/__schema11"
      +          }
      +        },
      +        "required": [
      +          "mode",
      +          "selectedOccurrenceId",
      +          "ancestorsIncluded",
      +          "siblingBranchesOmitted"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "context",
      +      "concept",
      +      "scope",
      +      "nextCursor",
      +      "pageStatus",
      +      "completeness",
      +      "occurrences",
      +      "diagnostics"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "code": {
      +        "$ref": "#/$defs/__schema2",
      +        "description": "Código que identifica el motivo del rechazo."
      +      },
      +      "context": {
      +        "$ref": "#/$defs/__schema0"
      +      },
      +      "currentContext": {
      +        "$ref": "#/$defs/__schema0",
      +        "description": "Contexto vigente que puedes reutilizar para corregir la solicitud, cuando está disponible."
      +      },
      +      "details": {
      +        "$ref": "#/$defs/__schema19",
      +        "description": "Datos que ubican la causa del rechazo, si están disponibles."
      +      },
      +      "message": {
      +        "$ref": "#/$defs/__schema2"
      +      },
      +      "nextAction": {
      +        "$ref": "#/$defs/__schema20",
      +        "description": "Instrucción de recuperación y, cuando corresponde, herramienta y argumentos para seguirla."
      +      },
      +      "recoverable": {
      +        "$ref": "#/$defs/__schema11",
      +        "description": "Indica si la operación permite corregir la solicitud o el contexto y volver a intentar."
      +      },
      +      "status": {
      +        "description": "Resultado del rechazo. stale indica que debes volver a leer el contexto vigente.",
      +        "enum": [
      +          "rejected",
      +          "stale"
      +        ],
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "status",
      +      "code",
      +      "recoverable"
      +    ],
      +    "type": "object"
      +  }
      +]
  3. Changed5 schema fields changed
    • changedInput schema / properties / expectedContext / description
      Previous value: -"Copia el objeto context de la consulta que sustenta la solicitud. Si cambió o usabas el contrato anterior, vuelve a obtener el resumen."New value: +"Copia el objeto context de la consulta que sustenta la solicitud."
    • addedOutput schema / $defs / __schema13 / properties / excluirDeBasePorcentual
      Added value: +{
      +  "const": true,
      +  "type": "boolean"
      +}
    • removedOutput schema / $defs / __schema18 / properties / input / properties / conceptId
      Removed value: -{
      -  "$ref": "#/$defs/__schema4"
      -}
    • addedOutput schema / $defs / __schema18 / properties / input / properties / conceptoId
      Added value: +{
      +  "$ref": "#/$defs/__schema4"
      +}
    • addedOutput schema / $defs / __schema18 / properties / input / required
      Added value: +[
      +  "conceptoId"
      +]
  4. Changed9 schema fields changed
    • addedInput schema / properties / expectedContext
      Added value: +{
      +  "$schema": "https://json-schema.org/draft/2020-12/schema",
      +  "additionalProperties": false,
      +  "description": "Copia el objeto context de la consulta que sustenta la solicitud. Si cambió o usabas el contrato anterior, vuelve a obtener el resumen.",
      +  "properties": {
      +    "editsRevision": {
      +      "description": "Revisión de edits como entero decimal en texto.",
      +      "pattern": "^(0|[1-9][0-9]{0,18})$",
      +      "type": "string"
      +    },
      +    "presupuestoId": {
      +      "description": "ID del presupuesto consultado.",
      +      "pattern": "^[0-9a-f]{10}$",
      +      "type": "string"
      +    },
      +    "readSharePath": {
      +      "description": "Enlace de lectura del contexto, si existe.",
      +      "maxLength": 120,
      +      "type": "string"
      +    },
      +    "version": {
      +      "description": "Versión documental consultada.",
      +      "exclusiveMinimum": 0,
      +      "maximum": 9007199254740991,
      +      "type": "integer"
      +    }
      +  },
      +  "required": [
      +    "presupuestoId",
      +    "version",
      +    "editsRevision"
      +  ],
      +  "type": "object"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "conceptoId",
      -  "presupuestoId",
      -  "version",
      -  "context"
      -]New value: +[
      +  "conceptoId",
      +  "expectedContext",
      +  "presupuestoId",
      +  "version",
      +  "context"
      +]
    • removedOutput schema / $defs / __schema0 / properties / dataFingerprint
      Removed value: -{
      -  "$ref": "#/$defs/__schema6"
      -}
    • addedOutput schema / $defs / __schema0 / properties / editsRevision
      Added value: +{
      +  "$ref": "#/$defs/__schema6"
      +}
    • changedOutput schema / $defs / __schema0 / required
      Previous value: -[
      -  "presupuestoId",
      -  "version",
      -  "dataFingerprint"
      -]New value: +[
      +  "presupuestoId",
      +  "version",
      +  "editsRevision"
      +]
    • removedOutput schema / $defs / __schema6 / $ref
      Removed value: -"#/$defs/__schema2"
    • changedOutput schema / $defs / __schema6 / description
      Previous value: -"Huella del estado económico consultado. Reutilízala para paginar, investigar usos o simular sobre la misma base."New value: +"Revisión persistida de los edits de este presupuesto y versión. Copia todo context en expectedContext para continuar."
    • addedOutput schema / $defs / __schema6 / pattern
      Added value: +"^(0|[1-9][0-9]{0,18})$"
    • addedOutput schema / $defs / __schema6 / type
      Added value: +"string"
  5. Changed3 schema fields changed
    • addedInput schema / properties / context
      Added value: +{
      +  "description": "A few words on why you are calling this tool, for the server developer's analytics. Describe people and things by role, such as \"a customer\". Do not quote the user or include names, emails, or other personal details.",
      +  "type": "string"
      +}
    • addedInput schema / properties / llm_model
      Added value: +{
      +  "description": "The model identifier you are running as, for example \"claude-opus-4-8\" or \"gpt-5.2\". Pass \"unknown\" if you are not certain. Recorded for the server developer's analytics.",
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "conceptoId",
      -  "presupuestoId",
      -  "version"
      -]New value: +[
      +  "conceptoId",
      +  "presupuestoId",
      +  "version",
      +  "context"
      +]
  6. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, non-destructive and closed-world behavior, so the bar is lower. The description still adds real value beyond them: the three access paths (owner account, public document, valid read link), the pagination contract via nextCursor, the completeness indicator, and the fact that it issues no professional opinion. The 'No guarda cambios' clause largely restates readOnlyHint.

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?

Front-loaded with the returned content, then drill-down guidance, then pagination/access caveats. Sentences are dense but each earns its place; the one weakness is that the caveat cluster (access, no-save, no-opinion) trails as a run-on rather than being grouped earlier.

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?

A 10-parameter tool with a nested expectedContext and an output schema — the description covers the access model, pagination, expansion degree and the drill-down contract, which is most of what an agent needs. What it leaves thin is the required context object, mentioned only as 'Usa el contexto del presupuesto abierto' while five other parameters are mandatory; the schema carries that burden.

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 prose nonetheless adds behavior the schema alone doesn't convey: that occurrenceId opens that row's ordinary matrix and its ancestors while sibling branches stay closed, and that nextCursor continues the page 'del mismo alcance' — a scoping rule the cursor parameter's own description omits.

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?

Uses a specific verb and resource ('Devuelve el concepto y su ruta de partidas, filas directas con coeficiente, operación...') and even enumerates the payload shape, so an agent knows exactly what it gets back. It stops short of naming a sibling (e.g. consultar_apu or buscar_conceptos) in the description text, so differentiation relies on the schema wording rather than the prose.

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?

Gives concrete when-to-use guidance ('Pasa el sourceId de una fila como occurrenceId para abrir su matriz ordinaria y ver sus ancestros') and explicit scope exclusions ('las ramas hermanas, los costos horarios y los cargos porcentuales quedan cerrados'). It never names an alternative tool to call instead when the needed branch is closed, leaving the fallback to inference.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources