Skip to main content
Glama
barissozudogru

gha-intel-mcp

Get Billing Usage

get_billing_usage

Retrieve GitHub Actions billing and cache usage for a user or organization, optionally scoped to a repository, to identify cost drivers and optimize CI spend.

Instructions

Retrieve GitHub Actions billing and cache usage statistics for an owner (user or org), optionally scoped to a specific repository.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repoNoOptional repository name to scope usage. When provided, returns repo-level cache stats and recent run timing.
ownerYesGitHub username or organisation name
Behavior2/5

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

No annotations are provided, so the description must carry full weight. It discloses that it retrieves statistics, but does not clarify whether this is a read-only operation (likely safe), what data is returned (cache stats, recent run timing), or any potential side effects. It doesn't mention rate limits, authorization needs, or whether it only works for paid plans. This is a basic functional description with no behavioral depth.

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?

The description is a single, well-structured sentence that is front-loaded with the verb and resource. It is concise and avoids redundancy, but it could potentially be split into two sentences for clarity (e.g., separating the scoping condition). Still, it is efficient with no fluff.

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

Completeness3/5

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

The tool is relatively simple with only 2 params and no output schema. The description covers the main purpose and scoping, which is adequate for a read-only retrieval tool. However, given no annotations and no output schema, it would benefit from mentioning whether the returned data is summarized or detailed, or noting that repo-scoped usage may not include owner-level billing aggregates. Completeness is acceptable but leaves gaps.

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 100%, with both parameters having descriptions. The description adds that 'repo' returns 'repo-level cache stats and recent run timing,' which supplements the schema by specifying the effect of providing the optional repo. However, it doesn't detail the exact format of 'owner' (e.g., case sensitivity) or the structure of returned data, but it adds meaningful scoping context beyond the schema.

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?

The description clearly states the verb 'Retrieve' and the specific resource 'GitHub Actions billing and cache usage statistics', and it distinguishes scope options (owner vs. repo). It differentiates from siblings like 'list_workflow_performance' and 'analyze_workflow_config' by targeting billing/cache, while siblings focus on performance/config.

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 by specifying optional scoping to a repository, but it does not explicitly state when to use this vs. siblings, nor provide exclusions. There is no mention of prerequisites (e.g., required permissions) or when owner-only vs. repo-scoped is appropriate. Context like billing queries is implied but not elaborated.

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/barissozudogru/gha-intel-mcp'

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