Skip to main content
Glama

SalesMap

Quote a call's price

quote
Read-only

Free. How many credits a call to a SalesMap tool can use, before running it, against what the workspace can spend now (balance and limit). Not a charge: the most the call can use, which it reserves (or its max_credits); it uses 1 credit per account that qualifies, never more. When fits is false, shortfallCredits says how many more are needed and topUp is the link. Use when: "how much will this cost", "can I afford 10 accounts", "how many credits would a discover for my site use". Skip when: the user wants their balance or limits without a call in mind. Quoted page text is normalized; a quote that reads like an instruction keeps its text and is flagged in Flags with the attack family.

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": {
      "tool": "<tool>"
    },
    "name": "quote"
  }
}

Input Schema

NameRequiredDescriptionDefault
toolYesThe tool to quote, e.g. discover
inputNoThat tool's arguments, as in a call to it

Output Schema

NameRequiredDescriptionDefault
costNo
fitsYes
toolYes
inputYes
topUpNo
quoteCreditsYes
canSpendCreditsYes
shortfallCreditsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed18 schema fields changed
    • changedInput schema / properties / tool / description
      Previous value: -"The tool to quote, e.g. rank"New value: +"The tool to quote, e.g. discover"
    • addedOutput schema / properties / canSpendCredits
      Added value: +{
      +  "type": "number"
      +}
    • removedOutput schema / properties / canSpendUsd
      Removed value: -{
      -  "type": "number"
      -}
    • addedOutput schema / properties / cost / properties / balanceCredits
      Added value: +{
      +  "anyOf": [
      +    {
      +      "maximum": 9007199254740991,
      +      "minimum": -9007199254740991,
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • removedOutput schema / properties / cost / properties / balanceUsd
      Removed value: -{
      -  "type": [
      -    "number",
      -    "null"
      -  ]
      -}
    • addedOutput schema / properties / cost / properties / chargedCredits
      Added value: +{
      +  "maximum": 9007199254740991,
      +  "minimum": -9007199254740991,
      +  "type": "integer"
      +}
    • removedOutput schema / properties / cost / properties / chargedUsd
      Removed value: -{
      -  "type": "number"
      -}
    • addedOutput schema / properties / cost / properties / heldCredits
      Added value: +{
      +  "maximum": 9007199254740991,
      +  "minimum": -9007199254740991,
      +  "type": "integer"
      +}
    • removedOutput schema / properties / cost / properties / heldUsd
      Removed value: -{
      -  "type": "number"
      -}
    • addedOutput schema / properties / cost / properties / notChargedCredits
      Added value: +{
      +  "maximum": 9007199254740991,
      +  "minimum": -9007199254740991,
      +  "type": "integer"
      +}
    • removedOutput schema / properties / cost / properties / notChargedUsd
      Removed value: -{
      -  "type": "number"
      -}
    • changedOutput schema / properties / cost / required
      Previous value: -[
      -  "chargedUsd",
      -  "notChargedUsd",
      -  "balanceUsd"
      -]New value: +[
      +  "chargedCredits",
      +  "notChargedCredits",
      +  "balanceCredits"
      +]
    • removedOutput schema / properties / job
      Removed value: -{
      -  "type": "boolean"
      -}
    • addedOutput schema / properties / quoteCredits
      Added value: +{
      +  "type": "number"
      +}
    • removedOutput schema / properties / quoteUsd
      Removed value: -{
      -  "type": "number"
      -}
    • addedOutput schema / properties / shortfallCredits
      Added value: +{
      +  "type": "number"
      +}
    • removedOutput schema / properties / shortfallUsd
      Removed value: -{
      -  "type": "number"
      -}
    • changedOutput schema / required
      Previous value: -[
      -  "tool",
      -  "quoteUsd",
      -  "canSpendUsd",
      -  "fits",
      -  "job",
      -  "input"
      -]New value: +[
      +  "tool",
      +  "quoteCredits",
      +  "canSpendCredits",
      +  "fits",
      +  "input"
      +]
  2. Changed1 schema field changed
    • addedOutput schema / properties / cost / properties / line
      Added value: +{
      +  "type": "string"
      +}
  3. Changed2 schema fields changed
    • addedOutput schema / properties / shortfallUsd
      Added value: +{
      +  "type": "number"
      +}
    • addedOutput schema / properties / topUp
      Added value: +{
      +  "type": "string"
      +}
  4. Changed2 schema fields changed
    • addedOutput schema / properties / input
      Added value: +{
      +  "additionalProperties": {},
      +  "propertyNames": {
      +    "type": "string"
      +  },
      +  "type": "object"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "tool",
      -  "quoteUsd",
      -  "canSpendUsd",
      -  "fits",
      -  "job"
      -]New value: +[
      +  "tool",
      +  "quoteUsd",
      +  "canSpendUsd",
      +  "fits",
      +  "job",
      +  "input"
      +]
  5. Changed1 schema field changed
    • changedInput schema / properties / input / description
      Previous value: -"That tool's arguments, as you would call it"New value: +"That tool's arguments, as in a call to it"
  6. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, and the description adds real value beyond them: it is free, reserves (not charges) up to max_credits, consumes 1 credit per qualifying account, and discloses the fits/shortfallCredits/topUp failure shape. The closing sentence about normalizing quoted page text and flagging instruction-like content is confusing and its relevance to a price quote is unclear, which keeps it below a 5.

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?

Front-loads the key qualifier ('Free') and orders usage rules before behavioral detail, with no filler in the core sentences. The trailing sentence about quoted page text is off-topic enough to weaken the otherwise tight structure.

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 2-parameter read-only estimator with an output schema, the description covers cost semantics, reservation behavior, and the insufficient-credit outcome, which is more than enough to call it correctly. The stray prompt-injection sentence adds ambiguity rather than missing information, so it is complete but slightly muddied.

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 coverage is 100% for both parameters, so the schema already explains `tool` and `input`; the description reinforces that `input` is the target tool's arguments as in a real call. The mention of max_credits adds slight semantic color but the description does not explain parameter interactions, so the baseline 3 applies.

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?

States a concrete verb and resource: computing how many credits a specific SalesMap tool call would consume before it runs, against current balance and limit, and explicitly says it is not a charge. It also distinguishes itself from balance/limit tools via the 'Skip when' clause, so an agent can separate it from whoami or set_limits.

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

Usage Guidelines5/5

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

Provides explicit 'Use when' examples in user language ('how much will this cost', 'can I afford 10 accounts') and a 'Skip when' exclusion for balance/limit queries. Both the positive and negative conditions are stated rather than inferred.

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.