Skip to main content
Glama

Personalised best deals for a customer

get_customer_best_deals

Top deal projections based on the customer's tags + M Club tier. Bearer + phone required.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoIgnored: /api/v1/customers/best-deals takes no limit.
phoneYesE.164 phone selecting the customer.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / limit / description
      Previous value: -"Max deals to return."New value: +"Ignored: /api/v1/customers/best-deals takes no limit."
  2. First observed

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does add the auth requirement (bearer token plus phone), which is genuinely useful. But it discloses nothing about how deals are ranked, whether results are cached/stale, rate limits, or what a 'projection' means operationally.

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, no filler, and the substantive claim about what drives the results is front-loaded ahead of the auth note. Very efficient, if slightly clipped.

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?

For a small read tool with no output schema and no annotations, the description covers the input requirement and the personalisation basis, which is adequate. It stops short of describing the returned deal shape or the possibility of an empty/failed lookup, which would help an agent interpret results.

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%, so the schema already documents both phone (E.164) and the ignored limit. The description adds the framing that personalisation is driven by tags and M Club tier, but no additional parameter-level semantics. Baseline 3 applies.

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 resource and scope: top deal projections personalised by the customer's tags and M Club tier. That is enough to distinguish it from siblings like get_customer or get_cart, though the verb is implicit (a restatement of 'get' rather than an action statement).

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

Usage Guidelines2/5

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

It gives a prerequisite ('Bearer + phone required') but no guidance on when to choose this tool versus alternatives such as get_customer or get_cart, and no exclusions or failure conditions. Prerequisites are not usage routing.

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