Skip to main content
Glama

Estimate Project Processing Credits

estimate_project_credits
Read-onlyIdempotent

Calculate the preliminary or refined AI Processing Credit range and check workspace credit balance before processing begins (read-only, charges nothing).

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": {
      "project_id": "<project_id>"
    },
    "name": "estimate_project_credits"
  }
}

Input Schema

NameRequiredDescriptionDefault
stageNoEstimation stage (default refined).
project_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

The annotations already declare readOnlyHint and destructiveHint=false, but the description adds the material detail that the call 'charges nothing' and only produces a preliminary/refined estimate. This matters because in a credit context 'estimate' could plausibly consume or reserve credits, and the description removes that doubt.

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?

It is one sentence, front-loaded with the main verb and resource, with the caveat in parentheses. The density is high but every clause carries information; only the missing follow-on to the 'before processing begins' clause would have justified another sentence.

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?

This is a simple two-parameter read tool with no output schema, so the description needs to say what comes back, and it does: a credit range plus the workspace balance. Only project_id semantics are left uncovered.

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 coverage is only 50%: 'stage' is documented with its enum and default, but 'project_id' has no description anywhere. The description does reinforce the preliminary/refined distinction, but it adds nothing about project_id or about stage defaults, so it only partly fills the coverage gap.

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 states a specific verb and resource: 'Calculate the preliminary or refined AI Processing Credit range and check workspace credit balance.' It makes the two estimation stages explicit, which distinguishes it from the approval-style sibling, but it does not name a sibling tool to differentiate against.

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?

'before processing begins' gives a clear usage window, and the preliminary/refined wording implicitly tells the agent which stage to pick. However, the description never says when to prefer it over related tools like approve_project_estimate, and it never states which tool to use afterward.

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