Skip to main content
Glama

get_cost_autopilot

Read-only

Read the organisation's cost autopilot policy: how much Ankra may do about cost unasked. Returns the tier each environment kind (production, staging, development, preview, unknown) defaults to, the four tiers with what each lets Ankra do on its own and what it proposes instead, the quiet hours and notification route, and every live cluster with its tier, whether an override or its environment set it, and the sentence its savings cards show. An organisation that never set a policy reads is_set false and Hands-off everywhere. Read-only; read this before update_cost_autopilot.

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations only declare readOnlyHint; the description goes well beyond by disclosing the default behavior for orgs that never set a policy (is_set false, Hands-off everywhere), the shape of returned data (tiers per environment kind, quiet hours, notification route, live clusters), and the read-only nature. It does not cover permissions or rate limits, but for a read tool it is rich.

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?

Front-loaded with the key purpose, then details returns, then closes with the read-only plus sibling precondition. Somewhat dense in the middle enumeration, but every clause adds information and nothing is filler.

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?

For a zero-param read getter with no output schema, the description fully compensates: it describes what the response contains, default states for unset policies, and the relationship to the update sibling. An agent has everything needed to call and interpret it.

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?

Zero parameters, so baseline is 4 per the rubric. The description usefully enumerates the returned fields (tier per environment kind, four tiers, overrides, quiet hours, notification route), adding value beyond a bare parameter list even though no parameters exist.

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 (read) and resource (cost autopilot policy), plus a crisp definition of what the resource represents ('how much Ankra may do about cost unasked'). Clearly distinguishes itself from update_cost_autopilot by naming that sibling. No ambiguity about scope.

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?

Explicitly tells the agent to read this before update_cost_autopilot, giving a clear ordering/context cue. Lacks an explicit when-not-to-use, but for a read-only getter on a niche resource, the precondition guidance is unusually strong.

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.

Resources