presupuestos.red

v0.1.0
io.github.joseanu/presupuestos-red Checked 4 days ago Published 21 days ago

Importa presupuestos OPUS, Neodata y Excel; analiza precios unitarios y simula cambios.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

consultar_diagnostico_presupuesto Señales deterministas del presupuesto

Devuelve las señales del motor de Análisis antes de la selección ejecutiva de la UI. Sirven para orientar investigación, no son errores probados ni hallazgos del agente. El motor limita la selección y las entidades relacionadas son ejemplos. 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.

ParameterTypeDescription
context *stringA 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 p…
expectedContext *objectCopia el objeto context de la consulta que sustenta la solicitud.
presupuestoId *stringIdentifica el documento. Tómalo del contexto que devuelve el visor al importar o abrir el presupuesto.
version *integerNúmero de la revisión publicada que quieres consultar. Usa el que acompaña al presupuesto en el contexto del visor.
conversation_idstringThe 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.
llm_modelstringThe 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.
readSharePathstringEnlace que da acceso de lectura a un presupuesto compartido. Para un documento privado compartido, toma este valor del contexto con el que lo abriste.

obtener_resumen_presupuesto Resumen del presupuesto

Obtiene el resumen económico y un mapa de partidas. Los importes por partida incluyen sus descendientes y se expresan en la base declarada; la cobertura de matrices no certifica una revisión completa. 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.

ParameterTypeDescription
context *stringA 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 p…
presupuestoId *stringIdentifica el documento. Tómalo del contexto que devuelve el visor al importar o abrir el presupuesto.
version *integerNúmero de la revisión publicada que quieres consultar. Usa el que acompaña al presupuesto en el contexto del visor.
conversation_idstringThe 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.
llm_modelstringThe 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.
readSharePathstringEnlace que da acceso de lectura a un presupuesto compartido. Para un documento privado compartido, toma este valor del contexto con el que lo abriste.

consultar_apu Analiza conceptos

Con conceptoId devuelve el APU detallado, sus diez insumos principales y los pasos del PU. Con conceptoIds y el contexto vigente devuelve cabeceras y hasta 20 filas directas por APU con coeficiente, operación y costos del motor. forConcept expresa cantidad e incidencia de cada fila para la cantidad del concepto; null indica dato no calculable, incluido el consumo de cargos porcentuales. Cero es válido. Las filas no explotan básicos ni suman padres e hijos; los costos horarios conservan su composición cerrada. Con compare:true, comparison alinea filas por catalogId y omite rows de las cabec…

ParameterTypeDescription
expectedContext *objectCopia el objeto context de la consulta que sustenta la solicitud.
presupuestoId *stringIdentifica el documento. Tómalo del contexto que devuelve el visor al importar o abrir el presupuesto.
version *integerNúmero de la revisión publicada que quieres consultar. Usa el que acompaña al presupuesto en el contexto del visor.
comparebooleanCon true devuelve cabeceras sin rows y una comparación alineada por catálogo; textos/unidades una vez, coeficientes/operaciones/costos por concepto. Conserva límites de las filas directas entregada…
conceptoIdintegerID de concepto devuelto como conceptoId en buscar_conceptos o conceptId en la tabla presupuesto. Usa el ID interno del mismo documento.
conceptoIdsarrayConceptos cuyos APU quieres consultar en lote. Toma los IDs de buscar_conceptos o del campo conceptId de la tabla presupuesto.
readSharePathstringEnlace que da acceso de lectura a un presupuesto compartido. Para un documento privado compartido, toma este valor del contexto con el que lo abriste.

buscar_conceptos Busca conceptos

Busca conceptos por código, descripción y partida; devuelve hasta 10 candidatos y nextCursor para continuar. Puede acotar a partidaId; con partidaId permite query vacío para recorrer sus conceptos en orden del presupuesto. 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.

ParameterTypeDescription
context *stringA 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 p…
expectedContext *objectCopia el objeto context de la consulta que sustenta la solicitud.
presupuestoId *stringIdentifica el documento. Tómalo del contexto que devuelve el visor al importar o abrir el presupuesto.
version *integerNúmero de la revisión publicada que quieres consultar. Usa el que acompaña al presupuesto en el contexto del visor.
conversation_idstringThe 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.
cursorintegerPosición desde la que se retoma la lectura. Usa nextCursor de la página anterior.
llm_modelstringThe 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.
partidaIdintegerID de partida devuelto en mapaPartidas.partidas por obtener_resumen_presupuesto o como wbsNodeId en la tabla presupuesto.
querystringCódigo o texto del concepto o partida que buscas. Con partidaId puedes recorrer la partida sin texto de búsqueda.
readSharePathstringEnlace que da acceso de lectura a un presupuesto compartido. Para un documento privado compartido, toma este valor del contexto con el que lo abriste.

inspeccionar_componentes_apu Inspecciona la estructura de un concepto

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…

ParameterTypeDescription
conceptoId *integerID de concepto devuelto como conceptoId en buscar_conceptos o conceptId en la tabla presupuesto. Usa el ID interno del mismo documento.
context *stringA 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 p…
expectedContext *objectCopia el objeto context de la consulta que sustenta la solicitud.
presupuestoId *stringIdentifica el documento. Tómalo del contexto que devuelve el visor al importar o abrir el presupuesto.
version *integerNúmero de la revisión publicada que quieres consultar. Usa el que acompaña al presupuesto en el contexto del visor.
conversation_idstringThe 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.
cursorintegerPosición desde la que se retoma la lectura. Usa nextCursor de la página anterior.
llm_modelstringThe 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.
occurrenceIdstringsourceId de la fila de una matriz ordinaria devuelta por inspeccionar_componentes_apu. Úsalo para abrir esa rama del concepto.
readSharePathstringEnlace que da acceso de lectura a un presupuesto compartido. Para un documento privado compartido, toma este valor del contexto con el que lo abriste.

consultar_usos_insumos Investiga recursos y su incidencia

Investiga catalogId o catalogIds juntos. Para localizar IDs, usa consultar_datos_presupuesto con table=catalogo y query. scope limita a presupuesto (por defecto), conceptos o partidas con descendientes. Calcula importe visible afectado y contribución de costo directo por recurso y conjunta para todo el alcance. La unión excluye descendientes ya contenidos en otro recurso seleccionado: las contribuciones individuales pueden solaparse. cursor y limit paginan concepts y evidence.occurrences; continúa ambas listas con evidence.nextCursor. conceptPage y evidence indican coincidencias encontradas…

ParameterTypeDescription
context *stringA 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 p…
expectedContext *objectCopia el objeto context de la consulta que sustenta la solicitud.
presupuestoId *stringIdentifica el documento. Tómalo del contexto que devuelve el visor al importar o abrir el presupuesto.
version *integerNúmero de la revisión publicada que quieres consultar. Usa el que acompaña al presupuesto en el contexto del visor.
catalogIdintegerIdentifica un insumo o básico del catálogo. Toma su catalogId de la tabla catalogo o de una fila del APU.
catalogIdsarrayInsumos o básicos cuya incidencia quieres investigar en conjunto. Toma sus catalogId de la tabla catalogo o de las filas del APU.
conversation_idstringThe 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.
cursorstringPosición desde la que se retoma la lectura. Usa nextCursor de la página anterior.
limitintegerMáximo por página para cada lista: conceptos y renglones de evidencia. Los agregados cubren todo el alcance.
llm_modelstringThe 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.
readSharePathstringEnlace que da acceso de lectura a un presupuesto compartido. Para un documento privado compartido, toma este valor del contexto con el que lo abriste.
scopeAlcance sobre el que se calculan los agregados y se buscan usos del recurso.

simular_cambios_presupuesto Simula un escenario económico

Simula sin modificar ni guardar el presupuesto, incluso sin login. budget-changes combina cantidades, costos de catálogo y coeficientes compartidos. Para un componente usa resource-price con component, expected y change (set, add, percent o restore). Toma expected de la clave presente en componentesMonetarios en consultar_datos_presupuesto con table=catalogo, incluso si vale cero. Para un costo escalar se conserva expectedPrice y price. matrixCatalogId/itemIndex identifican el renglón. includeConceptEffects añade el impacto por concepto. kind=coefficient simula una ocurrencia local; exclude…

consultar_datos_presupuesto Lee los datos económicos del presupuesto

Lee presupuesto, catalogo, componentes y explosion por páginas de 50 registros, hasta 100. Busca insumos con table=catalogo y query por fragmento de código o descripción. Verifica el catalogId entre los candidatos. costos_horarios devuelve inputs canónicos, referencias y resultados de un equipo por catalogId, más los factores globales. Sin catalogId devuelve sólo los factores globales. Usa esta lectura para editar un modelo o factores vigentes. Componentes devuelve matrices con cabecera (código, descripción y unidad), directUses e items directos con recurso, unidad, coeficiente, operac…

abrir_presupuesto Abrir presupuesto

Llama sin argumentos para abrir el selector de archivos. Para reabrir una revisión publicada, indica presupuestoId y version juntos. Para abrir una fuente, pasa sourceId y su contexto en expectedContext. Para un documento privado, usa la cuenta propietaria o el enlace de lectura vigente.

ParameterTypeDescription
contextstringMotivo breve de la apertura para analítica.
conversation_idstringThe 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.
expectedContextobjectContexto de la consulta que devolvió sourceId.
llm_modelstringThe 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.
presupuestoIdstringIdentifica el documento. Tómalo del contexto que devuelve el visor al importar o abrir el presupuesto.
readSharePathstringEnlace que da acceso de lectura a un presupuesto compartido. Para un documento privado compartido, toma este valor del contexto con el que lo abriste.
sourceIdstringReferencia de la evidencia que quieres ver en el visor. Copia el valor exacto que devolvió la consulta del concepto, renglón, recurso o cálculo.
versionintegerNúmero de la revisión publicada que quieres consultar. Usa el que acompaña al presupuesto en el contexto del visor.

preparar_edicion_presupuesto Preparar edición del presupuesto

Prepara altas y ediciones del presupuesto. Para copiar un APU, indica el destino en los campos principales y copyAnalysis con el contexto del origen y el catalogId de la matriz. Usa copyAnalysis sin operations. Para pricing-factor y pricing-template, consulta primero table=pricing en consultar_datos_presupuesto. Si hay availableTemplate, puedes agregar ese pie en el mismo lote que sus factores. Si hay activeTemplate, restaurar retira el pie y sus intervenciones. Los valores porcentuales se expresan en puntos (10 = 10 %). Para costos horarios, lee los inputs completos con table=costos_horarios.…

aplicar_edicion_presupuesto Aplicar edición confirmada

Sólo el botón de confirmación del visor: aplica la propuesta exacta firmada, revalida propietario, scope, versión y estado y relee el resultado. No reintentar una escritura si se perdió la respuesta; consultar el estado real.

ParameterTypeDescription
context *stringA 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 p…
proposal *stringComprobante de la propuesta visible, disponible sólo en metadata privada del visor.
conversation_idstringThe 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.
llm_modelstringThe 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.

preparar_presupuesto_nuevo Preparar presupuesto nuevo

Prepara nombre, moneda y un catálogo inicial opcional. Declara el costo directo unitario o la composición del APU. Pricing calcula el PU. Entrega reviewUrl al usuario para que revise y pulse Crear presupuesto en la web.

ParameterTypeDescription
context *stringA 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 p…
currency *stringCódigo de moneda, por ejemplo MXN.
name *stringNombre del presupuesto nuevo.
conversation_idstringThe 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.
insumosarrayCatálogo compartido de insumos referenciados por clave en la composición.
llm_modelstringThe 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.
partidasarrayPartidas del presupuesto inicial, en orden.
pricingobjectFactores globales de la plantilla cd-ci-cf-u-v1, en puntos porcentuales. U: 10 significa 10 % de utilidad.

autorizar_edicion_presupuesto Autorizar el guardado de cambios

El visor solicita el acceso tras una acción explícita del usuario. El acceso no vincula ni modifica presupuestos.

ParameterTypeDescription
context *stringA 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 p…
conversation_idstringThe 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.
llm_modelstringThe 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.

autorizar_guardado_presupuesto Autorizar el guardado de cambios y del presupuesto en mi cuenta

El visor solicita el acceso tras una acción explícita del usuario. El acceso no vincula ni modifica presupuestos.

ParameterTypeDescription
context *stringA 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 p…
conversation_idstringThe 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.
llm_modelstringThe 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.

autorizar_vinculacion_presupuesto Autorizar guardar el presupuesto en mi cuenta

El visor solicita el acceso tras una acción explícita del usuario. El acceso no vincula ni modifica presupuestos.

ParameterTypeDescription
context *stringA 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 p…
conversation_idstringThe 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.
llm_modelstringThe 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.

estado_cuenta Consultar conexión

Comprueba si el host ha autorizado una cuenta. No modifica datos ni vincula documentos.

ParameterTypeDescription
context *stringA 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 p…
conversation_idstringThe 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.
llm_modelstringThe 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.

conectar_cuenta Conectar cuenta

Solicita acceso general de lectura a tu cuenta. El visor solicita permisos adicionales cuando el usuario elige guardar, vincular o importar a su cuenta.

ParameterTypeDescription
context *stringA 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 p…
claimbooleanLa persona eligió guardar este presupuesto en su cuenta.
conversation_idstringThe 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.
editbooleanSolicitar además permiso explícito de edición económica; no guarda ni confirma propuestas.
importbooleanLa persona eligió importar un presupuesto a su cuenta.
llm_modelstringThe 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.

listar_presupuestos Listar mis presupuestos

Lista hasta 50 presupuestos propios y referencias guardadas de la cuenta autorizada. Usa offset para continuar; no modifica datos.

ParameterTypeDescription
context *stringA 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 p…
conversation_idstringThe 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.
llm_modelstringThe 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.
offsetintegerDesplazamiento de la página, en incrementos de 50.

iniciar_importacion Iniciar importación

Crea un intento persistente para el archivo seleccionado en la interfaz. Con cuenta verificada asigna propietario; sin cuenta crea un invitado. No repetir automáticamente si se pierde la respuesta.

ParameterTypeDescription
context *stringA 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 p…
filename *stringNombre del archivo seleccionado.
requireAccount *booleanImpide cambiar a invitado un intento iniciado con cuenta.
size *integerTamaño del archivo en bytes.
conversation_idstringThe 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.
llm_modelstringThe 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.

vincular_presupuesto Vincular a mi cuenta

Vincula explícitamente el presupuesto público reclamable por ID a la cuenta autorizada. First-wins: otra cuenta puede haberlo vinculado antes. Conserva versiones, datos y originales; revoca el enlace compartido. Repetir para el mismo propietario es seguro.

ParameterTypeDescription
context *stringA 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 p…
presupuestoId *stringID del documento que el usuario decidió vincular.
version *integerVersión abierta; se conserva al vincular.
accountKeystringCuenta que inició la vinculación en el visor.
conversation_idstringThe 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.
llm_modelstringThe 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.
readSharePathstringEnlace de lectura del presupuesto abierto.

send_feedback Enviar comentarios

Send feedback about this server to its developers: a capability you needed that no tool provides, a tool that failed or misled you, or something that worked well. Records the feedback; it does not add or change tools. Leave out personal or sensitive details.

ParameterTypeDescription
feedback_type *stringWhat kind of feedback this is. Use 'missing_capability' when the tool you needed does not exist in the tool list - nothing failed, the capability is absent. Use 'issue' when an existing tool behaved b…
summary *stringOne self-contained sentence. For 'missing_capability': the capability you needed, e.g. 'No tool to delete multiple cohorts in one call.' For 'issue': the tool and the problem, e.g. 'query-trends rejec…
conversation_idstringThe 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.
detailsstringOptional longer context: what you tried, exact parameter values, the error text you saw, and any workaround you used. Omit when the summary says it all.
friction_pointsstringOptional: the specific moments that slowed you down, as short bullet-like sentences, quoting exact tool names, parameters, or error text.
llm_modelstringThe 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.
sentimentstringOptional: how the experience felt overall.
suggested_improvementstringOptional: the concrete change that would have helped, e.g. the tool to add, the description to reword, or the error message to improve.
task_completedbooleanOptional: whether you still completed the user's task despite the problem.
tool_namestringOptional: the existing tool this feedback is about (for 'issue' or 'praise'). Leave empty for 'missing_capability' - the point is that no tool fits.