Skip to main content
Glama

spend limits

spend_limits
Read-only

Cap what you spend through StartupHub per day or per month: on everything, on one listing, or on one label. Calls stop at the limit, and you get an alert when spend passes alert_pct (80% by default). With no arguments, lists your limits and what is spent so far. Set: period plus limit_credits, optionally listing_id or label. Remove: remove_id. Needs a StartupHub.ai API key with credit (pay as you go).

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

Input Schema

NameRequiredDescriptionDefault
labelNo
periodNo
alert_pctNo
remove_idNo
listing_idNo
limit_creditsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior1/5

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

Annotations declare readOnlyHint=true and destructiveHint=false, yet the description describes mutating behavior: 'Set: period plus limit_credits' and 'Remove: remove_id'. That is a direct conflict with the declared safety profile, and an agent relying on the read-only hint could invoke a destructive removal by mistake. The useful details it does add (calls stop at the limit, alert at alert_pct, 80% default, API key with credit required) do not offset the contradiction.

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?

The purpose is front-loaded in the first clause, and the mode instructions are compactly labeled 'Set:' and 'Remove:'. The sentence about alerts sits between the cap behavior and the listing behavior, which slightly interrupts the flow, but nothing is redundant.

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 six-parameter tool with no output schema and no parameter descriptions, the description covers modes, scoping, default alert threshold, and auth requirements. Gaps remain: it does not say what the listing response contains or whether removal is immediate or reversible, which matters most given the removal mode.

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

Parameters5/5

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

Schema description coverage is 0%, so the description carries the full burden, and it does: period (day or month), limit_credits, optional listing_id and label for scoping, remove_id for deletion, and alert_pct with its 80% default. Every one of the six parameters gets usable meaning that the bare schema does not supply.

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 names a specific verb and resource: cap spend through StartupHub per day or per month, scoped to everything, one listing, or one label, plus the listing mode when called with no arguments. That scope language separates it cleanly from nearby siblings such as get_my_usage and list_credit_packs, which report rather than configure spend.

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

Usage Guidelines4/5

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

It states concrete call patterns per mode: no arguments lists limits and spend so far; 'Set: period plus limit_credits, optionally listing_id or label'; 'Remove: remove_id'. It also states the prerequisite of an API key with credit (pay as you go). It does not compare itself explicitly against sibling tools, which keeps it below a 5.

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