Skip to main content
Glama

Price credits on a contract

admin_quote_credits
Read-onlyIdempotent

Internal staff only. What a purchase of credits costs on an organization's Enterprise contract: priced on the contract's steps from the credits invoiced since its term began, one line per price, or at a price somebody approved in place of them. Sends nothing; admin_invoice_credits sends the invoice.

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": {
      "organization": "<organization>",
      "credits": "<credits>"
    },
    "name": "admin_quote_credits"
  }
}

Input Schema

NameRequiredDescriptionDefault
creditsYesHow many credits, a whole number of thousands.
organizationYesThe organization's id or slug, as admin_find_organization returned it.
approvedPricePerThousandNoA price per 1,000 credits, in the currency's units, that somebody approved in place of the steps. Leave out to price on the steps.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and destructiveHint=false, so the safety profile is covered structurally. The description adds genuine value beyond that: it confirms no side effect occurs ('Sends nothing') and discloses an auth/audience constraint ('Internal staff only'), which annotations do not express.

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 audience constraint is correctly front-loaded in the first clause, and the whole thing is two dense sentences with no filler. The middle sentence is somewhat run-on, but every clause carries information the agent needs.

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?

For a read-only tool with no output schema, the description does the needed work: it conveys the return shape ('one line per price') and rules out side effects, which is what an agent must know before calling it. Nothing critical is missing, though a hint about error/eligibility behavior on non-Enterprise contracts is absent.

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 coverage is 100%, so the baseline is 3, but the description goes further by explaining the semantics behind the pricing modes – pricing 'on the contract's steps from the credits invoiced since its term began' versus 'at a price somebody approved in place of them' – which gives the agent conceptual grounding for approvedPricePerThousand rather than just repeating its schema text.

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 and resource ('What a purchase of credits costs on an organization's Enterprise contract') and immediately distinguishes itself from the sibling that actually performs the write, admin_invoice_credits. An agent can tell this is a pricing/quote operation versus an invoicing operation without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly scopes the audience ('Internal staff only') and names the alternative plus the condition that selects it: this tool 'sends nothing' while 'admin_invoice_credits sends the invoice.' The pricing-mode choice (steps vs. approved price) is also stated as an explicit either/or.

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