Skip to main content
Glama

Project costs

get_costs
Read-onlyIdempotent

Galon spend of this project this month. Use when the user asks what the project costs. Before: nothing. Returns this month's spend in USD. Scope: usage:read. Cost: free.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_costs"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds genuinely new operational context beyond that: required scope usage:read, no cost to call, USD units, and a fixed this-month window.

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?

Five short sentences with the purpose front-loaded and constraints (scope, cost, units) trailing, so nothing needs to be hunted for. The telegraphic phrasing ("Before: nothing.") is slightly cryptic and could read as a truncated template artifact.

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 zero-parameter read with no output schema and full annotation coverage, the description supplies what an agent needs: what is returned, its unit, its time window, and the required scope. Only the shape of the response beyond "spend in USD" is left unspecified, which is minor here.

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?

The tool takes zero parameters, so there is nothing to disambiguate and the baseline is 4. The description correctly implies the project context is implicit rather than a supplied argument.

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?

States a specific resource (project spend) and a specific window (this month), so an agent knows exactly what is returned. It does not explicitly differentiate itself from neighboring cost-adjacent siblings such as get_pricing or get_compute_usage, which keeps it out of the top band.

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?

"Use when the user asks what the project costs" gives a concrete triggering condition, and "Before: nothing" rules out prerequisites, which is useful caller guidance. It stops short of naming alternatives (e.g. pricing vs. usage tools) or when-not to use it.

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.