Skip to main content
Glama

SalesHookAI

Recent quotes

fetchQuoteHistory
Read-onlyIdempotent

The most recent quotes, optionally only those of one customer (customerName). Use to look up what was offered before and at which prices.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "fetchQuoteHistory"
  }
}

Input Schema

NameRequiredDescriptionDefault
customerNameNoOnly quotes of this customer (name or company). Leave out for the most recent quotes overall.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is fully covered without the description's help. The description adds that results reflect prior offers and their prices, but says nothing about how many quotes are returned, ordering, or whether there is a result cap — meaningful gaps for a tool named 'recent'.

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 sentences, front-loaded with the resource and scope, with the optional filter immediately after. The second sentence is usage-oriented rather than filler, though it slightly repeats the first sentence's intent.

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 one optional parameter, complete schema coverage, rich annotations, and no output schema, the description covers enough for correct invocation. The only shortfall is the undefined size and ordering of 'most recent', which an agent would want in order to 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%, and the parameter already documents that it accepts a name or company and that omission means overall recent quotes. The description restates that filtering behavior with '(customerName)' but adds no syntax, matching, or partial-name semantics beyond the schema. Baseline 3 applies since the schema carries the weight.

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: the most recent quotes, optionally narrowed to one customer. That is clear enough to act on, but it never distinguishes itself from the sibling listQuotes, leaving an agent to guess which retrieval tool is appropriate.

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?

'Use to look up what was offered before and at which prices' gives an implicit use case, and 'Leave out for the most recent quotes overall' clarifies the optional-parameter behavior. However, there is no explicit when-not guidance and no reference to alternatives such as listQuotes.

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