Skip to main content
Glama

Synthex Forge — x402 Paid Agent Services

Report Treasury Spend

report_treasury_spend
Read-onlyIdempotent

The budget and usage report for one scope. use it rather than authorize_treasury_spend for treasury spend specifically; an object with 5 fields including exception, field. $0.25 USDC.

Input Schema

NameRequiredDescriptionDefault
scope_idNoThe scope id this operation operates on. See the schema for its type and whether it is required.
requestIdNoA caller-supplied idempotency key. The same key returns the same result instead of charging twice.
scope_kindNoThe scope kind this operation operates on. See the schema for its type and whether it is required.

Output Schema

NameRequiredDescriptionDefault
idNoThe `id` field of the response.
kindNoThe `kind` field of the response.
fieldNoThe `field` field of the response.
exceptionNoThe `exception` field of the response.
request_idNoThe `request_id` field of the response.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • addedOutput schema / properties / exception
      Added value: +{
      +  "description": "The `exception` field of the response.",
      +  "type": "object"
      +}
    • addedOutput schema / properties / field
      Added value: +{
      +  "description": "The `field` field of the response.",
      +  "type": "object"
      +}
    • addedOutput schema / properties / id
      Added value: +{
      +  "description": "The `id` field of the response.",
      +  "type": "object"
      +}
    • addedOutput schema / properties / kind
      Added value: +{
      +  "description": "The `kind` field of the response.",
      +  "type": "object"
      +}
    • addedOutput schema / properties / request_id
      Added value: +{
      +  "description": "The `request_id` field of the response.",
      +  "type": "object"
      +}
    • removedOutput schema / properties / status
      Removed value: -{
      -  "type": "string"
      -}
  2. Added

TDQS

A3.8/5.0
Behavior4/5

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

The annotations already establish read-only, idempotent, non-destructive behavior. The description adds meaningful context by disclosing the $0.25 USDC cost and the response shape with 5 fields including `exception` and `field`, which helps the agent understand the paid-call and output characteristics.

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?

The description is short and front-loads the purpose, but it is grammatically fragmented, especially the clause 'an object with 5 fields including exception, field.' The ideas are useful but the structure is not as clean or polished as it could be.

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 100% schema coverage, annotations, and an output schema, the description need not explain every parameter or return value. It adds the key commercial and behavioral context: the $0.25 USDC cost and the alternative tool, making it largely complete for an agent deciding whether to call it.

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% and the three parameters are documented in the input schema. The description only implies that the report is scoped to one scope, without adding syntax or selection guidance beyond what the schema already provides, so the baseline of 3 applies.

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: a budget and usage report for one scope. It also explicitly distinguishes itself from `authorize_treasury_spend` for treasury spend reporting, though the phrasing is somewhat fragmented and could say more directly that it returns a report.

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 explicitly names `authorize_treasury_spend` as the alternative and says to use this tool instead for treasury spend specifically. That gives the agent a clear routing cue, though it does not describe broader when-not-to-use conditions.

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.