Skip to main content
Glama

Confita

Get a customer

get_customer
Read-onlyIdempotent

For shop owners: one customer in full: contact, the seller's private note, order count, money spent and owed, first and last order, and their five latest orders. It changes nothing: save_customer does.

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": {
      "customer": "<customer>"
    },
    "name": "get_customer"
  }
}

Input Schema

NameRequiredDescriptionDefault
customerYesThe customer: their id (cus_...) or name.

Output Schema

NameRequiredDescriptionDefault
nextNo
owedNo
errorNo
spentNo
ordersNo
choicesNo
outcomeNo
customerNo
timezoneNo
last_order_atNo
recent_ordersNo
first_order_atNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

readOnlyHint/idempotentHint are already in annotations, so credit is for what the description adds: exactly which data is exposed, including the seller's private note, and an explicit statement that the call mutates nothing. It does not cover behavior for an unknown customer name or whether the five latest orders can be empty, but it goes well beyond restating the annotations.

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 short sentences, payload detail first, the non-mutation guarantee last; every clause carries information. The stacked-colon fragment style is slightly clipped, which costs it the top mark.

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?

With a full output schema, rich annotations and a single parameter, the description supplies what the structured data cannot: the audience and the payload summary. Only edge-case behavior for ambiguous or missing customers is left unstated.

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?

The single parameter is fully documented in the schema (cus_... id or name), so the description adds no syntax or format meaning beyond it. Baseline 3 applies since schema coverage is 100% and the description only implies the "one customer" scope.

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?

"One customer in full" names a specific verb and resource and then enumerates the payload it returns (contact, private note, order count, money spent/owed, first and last order, five latest orders). The closing clause separates it cleanly from save_customer, so an agent can pick between read and write 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?

"For shop owners" sets the audience, and "It changes nothing: save_customer does" explicitly routes mutation intent to the sibling. What is missing is a pointer to find_customers for listing/searching many customers, which is only implied by the singular "one customer".

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