Skip to main content
Glama

bss_cycle_breakdown

Retrieves per-resource billing details for a billing cycle to identify which resources cost the most, including deleted resources.

Instructions

Per-RESOURCE billing detail for a cycle (YYYY-MM, default current month). Use when the question is about individual resources: 'qué recurso me está costando más', 'detalle por recurso'. More expensive than bss_total_cost. Includes deleted resources. usage_measure_id=6 → seconds → hours=usage/3600. Returns {cycle, total, by_service:[{service_type, label, amount, resource_count, resources:[{id,name,amount,hours,region,resource_type}]}]}.

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

Input Schema

NameRequiredDescriptionDefault
cycleNoBilling cycle YYYY-MM (default: current month)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations supplied, the description carries the full burden and does so: it discloses the cost/performance tradeoff versus bss_total_cost, that deleted resources are included in the result (a non-obvious scope decision), the unit conversion rule (usage_measure_id=6 → seconds → hours=usage/3600), and the exact return shape. These are behaviors an agent could not infer from structured fields.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loads the resource-level scope, then the selection guidance, then the caveats and return shape. Every clause carries distinct information — no restated title, no filler — despite the dense packing of the return schema into one line.

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

Completeness5/5

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

The tool has no annotations and no output schema, so the description compensates by spelling out the response structure, units, and inclusion of deleted resources. Nothing material is missing for an agent to invoke it correctly and interpret the result.

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 description coverage is 100% and the single parameter already documents 'Billing cycle YYYY-MM (default: current month)'. The description restates the same format and default without adding syntax, validation range, or edge-case meaning, so the baseline of 3 applies.

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?

States a specific verb-and-resource combination ('Per-RESOURCE billing detail for a cycle') and immediately scopes it against the aggregate sibling ('More expensive than bss_total_cost'). An agent can distinguish this from bss_total_cost without opening either schema.

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

Usage Guidelines5/5

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

Gives an explicit selection condition with concrete user-phrasing examples ('qué recurso me está costando más', 'detalle por recurso') and names the alternative it should not be used in place of (bss_total_cost) because of higher cost. Both when-to-use and the tradeoff that drives the choice are stated.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools