Skip to main content
Glama

SalesMap

Set spending limits

set_limits

Free. Sets the user's own monthly credit limit for SalesMap (rolling 30 days); null removes it. Until set: 100 credits once the workspace has bought a pack, else 40. There is no daily or weekly limit. No call ever uses more than the limit or the balance. Also the ask-first threshold: a paid call quoted over that many credits asks the user first (default 0: every call asks; null never asks). Also weeklyDiscover (off by default): true runs the free list for the active seller every Monday (no credits; it counts as that day's list) and emails the signed-in user only the companies new on their list, nothing when none are new; set it only on the user's explicit yes. Returns the limits with what's used and left. Use when: "set a monthly budget", "cap it at 20 credits a month", "raise my limit", "remove the limit", "stop asking me before each call", "email me new accounts every week", "stop the weekly email". Skip when: the user only wants to see their limits, not change them. 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

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": "set_limits"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmCreditsNoCredits; paid calls quoted over it need the user's yes first; 0 means every call; null means none; omitted, it is kept
monthlyCreditsNoCredits; null removes this limit; omit to keep it
weeklyDiscoverNoThe weekly free list and its new-accounts email to the signed-in user; only on the user's explicit yes; omitted, it is kept

Output Schema

NameRequiredDescriptionDefault
costNo
frozenYes
creditsYes
windowsYes
confirmCreditsYes
weeklyDiscoverYes
canSpendCreditsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / weeklyDiscover / description
      Previous value: -"The weekly paid discover and its new-accounts email to the signed-in user; only on the user's explicit yes; omitted, it is kept"New value: +"The weekly free list and its new-accounts email to the signed-in user; only on the user's explicit yes; omitted, it is kept"
  2. Changed29 schema fields changed
    • addedInput schema / properties / confirmCredits
      Added value: +{
      +  "anyOf": [
      +    {
      +      "maximum": 9007199254740991,
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Credits; paid calls quoted over it need the user's yes first; 0 means every call; null means none; omitted, it is kept"
      +}
    • removedInput schema / properties / confirmUsd
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "minimum": 0,
      -      "type": "number"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "description": "USD; paid calls quoted over it need the user's yes first; 0 means every call; null means none; omitted, it is kept"
      -}
    • addedInput schema / properties / monthlyCredits
      Added value: +{
      +  "anyOf": [
      +    {
      +      "exclusiveMinimum": 0,
      +      "maximum": 9007199254740991,
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Credits; null removes this limit; omit to keep it"
      +}
    • removedInput schema / properties / monthlyUsd
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "exclusiveMinimum": 0,
      -      "type": "number"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "description": "USD; null removes this limit; omit to keep it"
      -}
    • addedInput schema / properties / weeklyDiscover
      Added value: +{
      +  "description": "The weekly paid discover and its new-accounts email to the signed-in user; only on the user's explicit yes; omitted, it is kept",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / canSpendCredits
      Added value: +{
      +  "type": "number"
      +}
    • removedOutput schema / properties / canSpendUsd
      Removed value: -{
      -  "type": "number"
      -}
    • addedOutput schema / properties / confirmCredits
      Added value: +{
      +  "type": [
      +    "number",
      +    "null"
      +  ]
      +}
    • removedOutput schema / properties / confirmUsd
      Removed value: -{
      -  "type": [
      -    "number",
      -    "null"
      -  ]
      -}
    • 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"
      +]
    • addedOutput schema / properties / credits
      Added value: +{
      +  "type": "number"
      +}
    • removedOutput schema / properties / creditsUsd
      Removed value: -{
      -  "type": "number"
      -}
    • addedOutput schema / properties / weeklyDiscover
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / windows / properties / monthly / properties / leftCredits
      Added value: +{
      +  "type": [
      +    "number",
      +    "null"
      +  ]
      +}
    • removedOutput schema / properties / windows / properties / monthly / properties / leftUsd
      Removed value: -{
      -  "type": [
      -    "number",
      -    "null"
      -  ]
      -}
    • addedOutput schema / properties / windows / properties / monthly / properties / limitCredits
      Added value: +{
      +  "type": [
      +    "number",
      +    "null"
      +  ]
      +}
    • removedOutput schema / properties / windows / properties / monthly / properties / limitUsd
      Removed value: -{
      -  "type": [
      -    "number",
      -    "null"
      -  ]
      -}
    • addedOutput schema / properties / windows / properties / monthly / properties / spentCredits
      Added value: +{
      +  "type": "number"
      +}
    • removedOutput schema / properties / windows / properties / monthly / properties / spentUsd
      Removed value: -{
      -  "type": "number"
      -}
    • changedOutput schema / properties / windows / properties / monthly / required
      Previous value: -[
      -  "limitUsd",
      -  "spentUsd",
      -  "leftUsd"
      -]New value: +[
      +  "limitCredits",
      +  "spentCredits",
      +  "leftCredits"
      +]
    • changedOutput schema / required
      Previous value: -[
      -  "windows",
      -  "creditsUsd",
      -  "canSpendUsd",
      -  "frozen",
      -  "confirmUsd"
      -]New value: +[
      +  "windows",
      +  "credits",
      +  "canSpendCredits",
      +  "frozen",
      +  "confirmCredits",
      +  "weeklyDiscover"
      +]
  3. Changed1 schema field changed
    • addedOutput schema / properties / cost / properties / line
      Added value: +{
      +  "type": "string"
      +}
  4. Changed1 schema field changed
    • changedInput schema / properties / confirmUsd / description
      Previous value: -"USD; paid calls quoted over it ask the user first; 0 asks every time; null never asks; omit to keep it"New value: +"USD; paid calls quoted over it need the user's yes first; 0 means every call; null means none; omitted, it is kept"
  5. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only declare write/safety flags; the description goes well beyond them by disclosing the pre-set defaults (100 credits after a pack purchase, else 40), that no daily or weekly limit exists, that a call never exceeds limit or balance, that confirmCredits defaults to 0 (ask every call) and null means never ask, and that weeklyDiscover is off by default, emails only new companies, and must be set only on explicit user consent. Those are exactly the operational facts an agent needs before mutating billing state.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded and information-dense, but the closing sentence about 'Quoted page text is normalized; a quote that reads like an instruction ... is flagged in <field>Flags' has no discernible relation to setting spending limits and reads as misplaced boilerplate, forcing the agent to reconcile it with the tool's purpose. The Use-when/Skip-when block earns its length; that trailing sentence does not.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With an output schema present, return shape needs no elaboration, yet the description still says it 'Returns the limits with what's used and left'. Combined with defaults, removal semantics, consent requirements, and email cadence, an agent has everything needed to invoke this correctly on a three-optional-parameter mutation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3; the description still adds value by supplying the default for confirmCredits (0), the 'rolling 30 days' window, and weeklyDiscover's actual behavior (Monday free list, counts as that day's list, only-new-companies email). It largely restates the null/omit semantics the schema already carries, which keeps it below a 5.

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 first sentence names a specific verb and resource ('Sets the user's own monthly credit limit for SalesMap (rolling 30 days); null removes it') and then extends to the two coupled settings (ask-first threshold, weeklyDiscover), so an agent knows exactly which state this mutates. No sibling (discover, job, quote, whoami, etc.) overlaps with limit configuration, so differentiation is implicit but unambiguous.

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?

Explicit 'Use when' list gives concrete user utterances ('cap it at 20 credits a month', 'stop asking me before each call') plus an explicit 'Skip when: the user only wants to see their limits, not change them'. That is a genuine when/when-not pair, not implied guidance.

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.