Skip to main content
Glama

presupuestos.red

Abrir presupuesto

abrir_presupuesto
Read-onlyIdempotent

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.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "abrir_presupuesto"
  }
}

Input Schema

NameRequiredDescriptionDefault
contextNoMotivo breve de la apertura para analítica.
versionNoNúmero de la revisión publicada que quieres consultar. Usa el que acompaña al presupuesto en el contexto del visor.
sourceIdNoReferencia 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.
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.
presupuestoIdNoIdentifica 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.
expectedContextNoContexto de la consulta que devolvió sourceId.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • removedOutput schema / $defs / __schema10 / properties / input / properties / conceptId
      Removed value: -{
      -  "$ref": "#/$defs/__schema4"
      -}
    • addedOutput schema / $defs / __schema10 / properties / input / properties / conceptoId
      Added value: +{
      +  "$ref": "#/$defs/__schema4"
      +}
    • addedOutput schema / $defs / __schema10 / properties / input / required
      Added value: +[
      +  "conceptoId"
      +]
  2. Changed2 schema fields changed
    • changedInput schema / properties / context / description
      Previous value: -"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."New value: +"Motivo breve de la apertura para analítica."
    • removedInput schema / required
      Removed value: -[
      -  "context"
      -]
  3. Changed8 schema fields changed
    • addedInput schema / properties / expectedContext
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Contexto de la consulta que devolvió sourceId.",
      +  "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"
      +}
    • 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"
  4. 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"
      +}
    • addedInput schema / required
      Added value: +[
      +  "context"
      +]
  5. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint=false, so safety is covered structurally. The description does add non-obvious behavior beyond them: a bare call opens an interactive file picker, and private documents require either the owner account or a valid read link. It says nothing about what is returned, whether the call blocks on the picker, or what happens on a stale readSharePath.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four short sentences, one per invocation mode, with the zero-argument default placed first. There is no filler and no restatement of the tool name.

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?

An output schema exists, so return values need not be explained, and the description covers the entry scenarios an agent must choose between. It is slightly incomplete on precedence when several parameter sets are supplied at once and on the failure behavior of an expired read link.

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?

With schema coverage at 100% the baseline is 3, but the description adds real meaning the schema cannot: it specifies which parameters must travel together (presupuestoId and version; sourceId and expectedContext) and which single parameter unlocks the private-document path. It omits the analytics parameters (context, llm_model, conversation_id), which is reasonable since the schema documents them.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource ('abrir el selector de archivos', 'reabrir una revisión publicada', 'abrir una fuente') and enumerates the distinct modes of operation. It never names a sibling tool such as consultar_datos_presupuesto or listar_presupuestos, so the boundary against alternatives must be inferred rather than read.

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?

It gives concrete conditions for each invocation path: no arguments for the picker, presupuestoId plus version together for a published revision, sourceId with expectedContext for a source, and the owner account or read link for a private document. It stops short of any when-not-to-use guidance or explicit routing to a sibling tool.

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