Skip to main content
Glama
mcp-aws-finops

mcp-aws-finops

by thomm-011

top_cost_drivers

Rank the top N AWS services by cost across a date range, helping you identify the largest spending drivers for FinOps analysis.

Instructions

Rank the top N services by cost over a date range.

    Args:
        start: ISO date (inclusive).
        end: ISO date (exclusive).
        n: How many drivers to return (1-50).
    

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": {
      "start": "<start>",
      "end": "<end>"
    },
    "name": "top_cost_drivers"
  }
}

Input Schema

NameRequiredDescriptionDefault
nNo
endYes
startYes

Output Schema

NameRequiredDescriptionDefault
endYes
startYes
driversYes
currencyYes
total_costYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden; it partly meets it by disclosing date-range semantics (start inclusive, end exclusive) and the n bounds. It does not state whether this is a read-only query, whether costs are final or lagging, what currency/units are used, or anything about permissions and response shape, which is a notable gap for a tool with zero annotation coverage.

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?

A single front-loaded sentence states the action and scope, followed by three tight per-parameter lines. Every element earns its place, with no filler or 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?

Because an output schema exists, the description need not explain return values, and for a simple three-parameter analytic query the coverage is nearly sufficient. The remaining omissions are about data freshness, units, and read-only nature, which would matter more if annotations were absent and the tool were mutating.

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?

Schema description coverage is 0%, so the description must compensate, and it does: all three parameters are documented, including the important inclusive/exclusive date convention and the 1-50 range for n. Only the default value of n (shown in the schema) and the accepted date format edge cases are left without description-level explanation.

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 verb and resource: 'Rank the top N services by cost over a date range.' That is concrete enough for an agent to know this is a ranked cost breakdown by service, which implicitly differs from tag-based or summary siblings. However, it never names or contrasts those siblings explicitly, so the differentiation relies on the agent inferring it from the resource name.

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 scope of the tool implies usage scenarios (identifying the biggest cost contributors), but there is no explicit guidance on when to pick this over get_cost_summary, cost_by_tag, or compare_periods, and no exclusions or prerequisites are stated. Somewhere between 'implied usage' and 'no guidance'; the clear scope keeps it at a 3.

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