Skip to main content
Glama

Levykit CI Cost Check

check_github_actions_cost

Read-onlyIdempotent

Check GitHub Actions workflow YAML for CI cost risks. Send one or more workflow files as text. The checker never calls GitHub and needs no token. Each finding includes a severity and a YAML snippet you can paste back into the workflow. One call costs $0.005 in USDC. The first 3 calls per UTC day per client IP are free, shared with POST /v1/check/free.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "check_github_actions_cost"
  }
}

Input Schema

NameRequiredDescriptionDefault
yamlNo
contentNo
filenameNo
workflowsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, closed-world), and the description adds genuinely new behavioral facts: no network calls, no auth, findings carry a severity plus a paste-back YAML snippet, and there is a per-call price with a free tier tied to client IP and shared with another endpoint. The quota coupling and pricing are exactly the kind of context annotations cannot express.

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?

Five short sentences, front-loaded with purpose then input format then behavior then cost. Every sentence contributes a distinct fact and nothing is repeated from the title or annotations.

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?

There is no output schema, so the description correctly spends a sentence on what comes back (severity plus YAML snippet), and it discloses cost and quota. The remaining gap is parameter-level completeness, which is the one thing an agent needs before constructing a call.

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 coverage is 0% across four parameters, so the description must carry the load, and it does not: it never mentions the yaml, content, filename, or workflows fields, nor does it resolve why both a scalar yaml/string and a workflows array exist or how filename pairs with them. "One or more workflow files as text" hints at multi-file support but leaves an agent guessing which parameter to populate.

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 opening sentence names a specific verb ("Check"), a specific resource ("GitHub Actions workflow YAML") and scope ("CI cost risks"), which is enough to separate it from a billing/catalog sibling like list_paid_tools. An agent knows immediately this is a static YAML analyzer, not a GitHub API client.

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?

It tells the agent what input to supply ("one or more workflow files as text") and clears the biggest prerequisite confusion by stating the checker never calls GitHub and needs no token. It stops short of saying when not to use it or which sibling to prefer for other tasks, but with only one unrelated sibling that omission is minor.

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.