Skip to main content
Glama

pedidos_de_cliente

Read-only

Retrieves a customer's orders by email, returning each order's date and total from newest to oldest.

Instructions

Pedidos de un cliente (por email) con fecha y total, del más reciente al más antiguo.

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": {
      "email": "<email>"
    },
    "name": "pedidos_de_cliente"
  }
}

Input Schema

NameRequiredDescriptionDefault
emailYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

The readOnlyHint=true annotation already establishes this is a safe read, and the description is consistent with that. It adds the sort order ('del más reciente al más antiguo') and the fact that date and total come back, but says nothing about result limits, what happens with an unknown email, or whether all history is returned.

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?

A single short sentence that front-loads the resource, then the key, the returned fields, and the ordering. No filler or repetition.

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?

For a one-parameter read tool with an output schema and read-only annotation, the description covers the essentials: what is queried, by what key, what comes back, and in what order. Only edge-case behavior (empty results, invalid email, result caps) is missing.

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 0%, so the lone `email` parameter carries no schema-level documentation. The description partially compensates by tying the input to a customer's email address, but it does not clarify whether it must be an exact match, an account email on file, or how invalid addresses are handled.

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?

Names the resource precisely (orders belonging to one customer, keyed by email) along with the returned fields (date, total) and ordering. That is enough to separate it from the sibling aggregate tools (productos_mas_vendidos, ventas_por_mes), though it never states the contrast explicitly and uses a noun phrase rather than a verb.

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

Usage Guidelines3/5

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

Usage is only implied: you call it when you have a customer email and want that customer's order history. There is no statement of when not to use it, no prerequisites, and no pointer to the sibling tools for aggregate sales questions.

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