Skip to main content
Glama

Kiro credit usage

get_kiro_usage
Read-only

Retrieves Kiro plan credit usage—credits used, remaining, and reset date—from kiro-cli /usage, with an optional refresh to bypass the cache.

Instructions

Returns the Kiro plan credits used, remaining and the reset date, read from kiro-cli /usage.

Input Schema

NameRequiredDescriptionDefault
refreshNoBypass the 30 second cache

Output Schema

NameRequiredDescriptionDefault
planYes
resetsOnYes
creditsUsedYes
percentUsedYes
creditsTotalYes
creditsRemainingYes
addOnCreditsAvailableForPurchaseYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false. The description adds genuine value by disclosing the data source ('read from kiro-cli /usage'), which hints at latency and local dependency, but it does not mention the 30-second cache behavior that the schema parameter reveals.

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?

One sentence, front-loaded with the verb and the returned data, with the data source appended. No filler.

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?

An output schema exists, so return values needn't be explained, and the sole parameter is fully covered by the schema. The description is nearly complete for this simple read tool; only cache/staleness behavior is left implicit.

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 optional 'refresh' parameter is fully documented in the schema ('Bypass the 30 second cache'). The description adds nothing about it, so the baseline of 3 applies.

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?

States a specific verb+resource ('Returns the Kiro plan credits') and even enumerates the returned fields (used, remaining, reset date). No siblings exist, so no differentiation is required, but the purpose is unambiguous.

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?

Usage is only implied by the read-only 'Returns...' framing; there is no statement of when to call it, prerequisites, or alternatives. With no sibling tools the omission is minor, but no explicit guidance is given.

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