Skip to main content
Glama

save_spend

Record a day’s ad spend (when the owner gave no Meta ads_read token).

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": {
      "date": "<date>",
      "amount": "<amount>"
    },
    "name": "save_spend"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateYesYYYY-MM-DD
amountYes
currencyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden for a write operation. It says nothing about idempotency, whether re-recording the same date overwrites a prior entry, required permissions, or currency defaulting behavior — significant omissions for a data-mutating tool.

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?

A single front-loaded sentence with no wasted words. Its brevity is appropriate in form, though the saved space is spent on a qualifier rather than on needed behavioral detail.

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

Completeness1/5

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

Three parameters with mostly undocumented semantics, no annotations, and no output schema means the description must do far more work. As written it leaves an agent without enough information to call the tool confidently or predict its side effects.

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

Parameters1/5

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

Schema coverage is only 33% and the description mentions no parameters at all. The undocumented amount and currency fields (units, default currency, accepted codes) are left entirely to inference, so the description adds nothing beyond the schema.

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?

"Record a day's ad spend" gives a specific verb and resource, and the parenthetical narrows it to the manual-entry fallback case. It is distinguishable from ledger-reading siblings like get_ledger, though the Meta-token qualifier is cryptic and adds ambiguity to an otherwise clear purpose.

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 parenthetical implies a usage condition (no Meta ads_read token available), which is real context but phrased in a way an agent cannot easily verify. No when-not guidance and no named alternative such as an automatic sync path are provided.

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