Skip to main content
Glama

Pedir una aprobación

pedir_aprobacion

Prueba la regla de Nostris «tú mandas»: un descuento, una fecha o un cambio de alcance no lo decide un agente; queda como propuesta y una persona la aprueba o la rechaza. La decisión se lee con ver_mi_solicitud.

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": {
      "que": "<que>",
      "detalle": "<detalle>"
    },
    "name": "pedir_aprobacion"
  }
}

Input Schema

NameRequiredDescriptionDefault
queYes
nombreNo
detalleYes
folio_relacionadoNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, openWorldHint=true, and idempotentHint=false; the description adds the meaningful nuance that nothing is actually granted — it becomes a pending proposal subject to human approval. That is genuine context beyond the structured fields. It does not, however, say whether a folio is returned, how long approval takes, or whether resubmission creates duplicates (relevant given idempotentHint=false).

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?

Two sentences with no padding, and the handoff to ver_mi_solicitud is placed at the end where the agent needs it after invoking. The opening brand framing ('Prueba la regla de Nostris «tú mandas»') is somewhat rhetorical, but it does convey the approval-gate concept efficiently.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema and no parameter descriptions, the definition should do more: it never confirms what the caller receives after submitting (a folio?), nor how 'folio_relacionado' ties a proposal to prior context. What it does cover — that the item stays pending and is verified via a sibling — is the single most important fact for an agent to avoid assuming the change took effect.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description carries the full burden of explaining four parameters. It enumerates the values of 'que' implicitly (descuento, fecha, alcance) but leaves 'otro' unmentioned and says nothing about 'detalle', 'nombre', or 'folio_relacionado' — the last being the least obvious of the set. Three of four parameters get no semantic guidance beyond their names.

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 outcome: a discount, date, or scope change is left as a proposal that a person approves or rejects, rather than decided by an agent. It also separates itself from the read-side sibling by naming ver_mi_solicitud as the way the decision is retrieved. The action verb ('pide') is only implied through the proposal framing, keeping it just short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

It gives clear triggering contexts — descuento, fecha, alcance — which map to the situations where a human gate is needed. It also routes the follow-up step explicitly to ver_mi_solicitud. No explicit exclusions are stated (e.g., that scheduling should go through pedir_cita instead), so it stops at 4.

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