Skip to main content
Glama

Gajo Verdulería — pedidos

gajo_quote

Read-onlyIdempotent

Calcular subtotal, envío y total con precios vigentes. No reserva stock ni crea una compra.

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": {
      "catalogVersion": "<catalogVersion>",
      "items": "<items>"
    },
    "name": "gajo_quote"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsYesProductos y cantidades de la bolsa, con IDs exactos del catálogo vigente.
catalogVersionYesVersión devuelta por el catálogo.

Output Schema

NameRequiredDescriptionDefault
itemsYes
totalYes
statusYes
currencyYes
shippingYes
subtotalYes
stockReservedYes
catalogVersionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so safety is largely covered. The description still adds material context the annotations cannot express: that quoting performs no stock reservation and creates no purchase, which is exactly the side-effect boundary an agent needs before choosing a price-check versus an order flow. It omits whether prices are fetched live (openWorldHint) or how shipping is derived.

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

Conciseness5/5

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

Two short sentences, zero filler, with the positive capability front-loaded and the exclusion clause second. Every clause carries actionable information.

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

Completeness4/5

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

An output schema exists, so return values need not be described, and the tool is simple with only two top-level parameters. The one remaining gap is how 'envío' is computed given that no address or shipping-method parameter exists, which an agent might reasonably wonder about; otherwise the definition is sufficient to call correctly.

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

Parameters3/5

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

Schema description coverage is 100%, with both parameters documented in-schema ('Versión devuelta por el catálogo', exact catalog IDs and quantity steps), so the baseline is 3. The description adds only the indirect notion of 'precios vigentes', reinforcing that catalogVersion must match a live catalog, but no syntax or constraint detail beyond the schema.

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

Purpose5/5

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

States a specific verb and output set ('Calcular subtotal, envío y total con precios vigentes') and immediately bounds the scope against the order-creating sibling by declaring it neither reserves stock nor creates a purchase. An agent can tell this apart from gajo_prepare_order without opening either schema.

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?

The negative clause ('No reserva stock ni crea una compra') clearly signals the when-not condition and implicitly routes commitment/stock actions to gajo_prepare_order. It stops short of naming that alternative explicitly or stating that catalogVersion must first be obtained from gajo_catalog, leaving that inference to the agent.

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.