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
limitNoMax deals to return.
phoneYesE.164 phone selecting the customer.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioral disclosure burden. It reveals the selection logic (tags, M Club tier) and that Bearer auth is required, which is useful. However, it does not state explicitly whether the operation is read-only, what the response format is, or any side effects, leaving gaps.

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?

The description is only two sentences, front-loaded with the core purpose, and the second sentence states necessary credentials. Every word earns its place with no redundancy.

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 simple tool with 2 params and a clear schema, the description is mostly adequate. However, since there is no output schema, it should clarify what 'top deal projections' returns (e.g., an array of deals) and any default behavior. This is a moderate gap.

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 input schema already provides descriptions for both parameters (phone, limit), giving 100% coverage. The description adds no additional parameter-specific meaning beyond what the schema offers, so the baseline of 3 is appropriate.

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?

The description gives a specific verb phrase 'Top deal projections' and identifies the resource (customer's tags + M Club tier). This clearly distinguishes it from sibling tools like list_products or get_customer, which serve different purposes.

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?

The description implies usage for retrieving personalized deals based on customer attributes, but provides no explicit when-to-use vs alternatives or exclusions. It mentions 'Bearer + phone required' which is a prerequisite, not a usage guideline.

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