Skip to main content
Glama
knishioka

Cost Management MCP

by knishioka

cost_periods

Compare cloud service costs between two time periods to analyze spending trends and identify changes across AWS, OpenAI, and Anthropic providers.

Instructions

Compare costs between two time periods

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
providerNoSpecific provider to analyze (optional)
period1Yes
period2Yes
comparisonTypeNoboth
breakdownNoInclude service-level breakdown
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It states what the tool does ('compare costs') but doesn't describe how it behaves: whether it's read-only or mutating, what permissions are required, whether it has rate limits, what format the comparison output takes, or if there are any side effects. For a tool with no annotation coverage, this leaves significant gaps in understanding its operational characteristics.

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 extremely concise—a single sentence with zero wasted words. It's front-loaded with the core purpose and doesn't include any unnecessary information. This is an example of efficient communication, though it may be too brief for complete understanding.

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

Completeness2/5

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

Given the complexity (5 parameters with nested objects, no output schema, no annotations), the description is insufficient. It doesn't explain what the comparison output looks like, how dates should be formatted, what 'costs' specifically refer to, or how this tool differs from similar siblings. For a tool with this level of parameter complexity and no structured support, the description should provide more contextual information.

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

Parameters2/5

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

Schema description coverage is only 40% (2 out of 5 parameters have descriptions). The description 'Compare costs between two time periods' only hints at the 'period1' and 'period2' parameters. It doesn't mention the optional 'provider' parameter, the 'comparisonType' with its enum values, or the 'breakdown' flag. With low schema coverage, the description fails to compensate by explaining parameter meanings or usage.

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 clearly states the tool's purpose: 'Compare costs between two time periods'. This is a specific verb ('compare') with a clear resource ('costs') and scope ('two time periods'). However, it doesn't explicitly differentiate from sibling tools like 'cost_trends' or 'provider_compare', which might also involve cost comparisons.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives. With multiple sibling tools involving costs (e.g., 'cost_trends', 'provider_compare', 'anthropic_costs'), there's no indication of when this period comparison is preferred over other cost analysis tools. The user must infer usage from the name alone.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/knishioka/cost-management-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server