Skip to main content
Glama
rsp2k
by rsp2k

subaccount_analyze_costs

Analyze cost and usage patterns for a subaccount to identify trends, project future expenses, and get actionable recommendations for optimizing cloud spending.

Instructions

Analyze costs and usage patterns for a subaccount.

Args: subaccount_id: The subaccount ID, name, email, or UUID analysis_days: Number of days to analyze (default: 30)

Returns: Detailed cost analysis including projections and recommendations

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
analysis_daysNo
subaccount_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.1

TDQS

A3.9/5.0
Behavior3/5

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

No annotations are provided, so the description must carry the burden of behavioral disclosure. 'Analyze' and the Returns line indicate a read-only analysis that produces projections and recommendations. It does not explicitly state that no resources are modified or mention permission requirements, but the core non-mutating behavior is reasonably clear.

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?

The description is compact, front-loaded with the purpose, and organized into clear Args and Returns sections. There is no filler or redundant restatement of the tool name.

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 two-parameter analysis tool with an output schema present, the description covers accepted identifier formats, the analysis time window, and the general nature of the response. It could add explicit read-only or permission context, but nothing essential for invoking the tool is missing.

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

Parameters5/5

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

Schema description coverage is 0%, so the description must compensate. It meaningfully documents both parameters: subaccount_id accepts an ID, name, email, or UUID, and analysis_days is defined as a number of days with a default of 30. This goes well beyond the bare string/integer 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?

The description opens with a specific action ('Analyze costs and usage patterns') and a clear resource scope ('for a subaccount'). It is not a tautology and is clear in its intent, though it does not explicitly differentiate it from sibling tools like subaccount_monitor_usage or billing_analyze_spending_trends.

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 description implies usage when a subaccount-level cost/usage analysis with projections and recommendations is needed. However, it does not state when not to use the tool or name alternatives, leaving the agent to infer selection from the name and sibling list.

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