Skip to main content
Glama

Universal Data — x402 + MPP Payment Setup

api_cloud_storage_cost

Read-onlyIdempotent

Project monthly object storage, egress and request charges using caller-supplied cloud provider price rates. One call costs 0.01 USDC on Base x402; customer-owned provider credentials use X-Provider-Key header where needed.

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": {
      "stored_gb": "<stored_gb>",
      "storage_per_gb": "<storage_per_gb>",
      "egress_gb": "<egress_gb>",
      "egress_per_gb": "<egress_per_gb>"
    },
    "name": "api_cloud_storage_cost"
  }
}

Input Schema

NameRequiredDescriptionDefault
egress_gbYesegress gb; see operation description for units and format
stored_gbYesstored gb; see operation description for units and format
egress_per_gbYesegress per gb; see operation description for units and format
request_countNorequest count; see operation description for units and format
storage_per_gbYesstorage per gb; see operation description for units and format
per_1000_requestsNoper 1000 requests; see operation description for units and format

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already cover the read-only/idempotent/non-destructive profile, and the description adds genuinely new operational facts: a per-call charge of 0.01 USDC on Base x402 and an X-Provider-Key header for customer-owned credentials. These are exactly the cost and auth details an agent needs before invoking. It does not explain what the response contains or whether the 0.01 USDC charge applies when own credentials are used.

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?

Two sentences, front-loaded with the purpose, with the payment/auth caveats after. Nothing is padded. The trailing "where needed" on the X-Provider-Key clause is vague enough to cost it a point.

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

Completeness3/5

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

With no output schema, the description should say what comes back (a monthly total, a per-component breakdown, and in which currency), and it does not. It also omits input units despite the schema pointing here for them. For a six-parameter projection tool this leaves a real gap, though the calling and payment mechanics are well covered.

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 nominally 100%, so the baseline is 3, and the description does add conceptual grouping by naming the three cost components (storage, egress, requests) that the six parameters feed into. However, the schema descriptions are placeholders that literally say "see operation description for units and format", and the description never states units or format, so the deferral is circular and the agent is left without the promised detail.

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?

Specific verb ("Project") plus a precisely scoped resource ("monthly object storage, egress and request charges"), which is enough to separate it from the many other finance/calculator siblings such as api_finance_cagr or api_order_profit. It also clarifies the model is rate-driven rather than price-fetching. No sibling is named explicitly, so it stops short of 5.

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?

"using caller-supplied cloud provider price rates" implicitly tells the agent this is a calculator and that it must supply the rates itself rather than expect live pricing. There is no explicit when-not-to-use statement and no named alternative for agents that want real provider pricing, so guidance is only implied.

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