Skip to main content
Glama

Vlaander engine catalogue

Open a pay-per-use account

create_usage_grant

Opens a prepaid usage account for one engine for this API key (balance starts at zero). Credits are added separately by paying USDC via x402 at POST /v1/agent/usage/:id/credits. This is not a licence and does not deliver source. Refused while pay-per-use is off or unconfigured.

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": {
      "product": "<product>"
    },
    "name": "create_usage_grant"
  }
}

Input Schema

NameRequiredDescriptionDefault
productYes

Output Schema

NameRequiredDescriptionDefault
unitYes
termsYes
productYesEngine ID, e.g. MOB.
account_idYes
is_licenceYes
credit_atomicYes
delivers_sourceYes
how_to_add_creditsYes

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare a non-read-only, non-destructive, non-idempotent, closed-world write, and the description adds real context on top: zero starting balance, funding happening out-of-band via USDC/x402 at a specific endpoint, and the refusal condition when pay-per-use is disabled. It does not mention what happens on a repeated call despite idempotentHint=false, leaving the duplicate-account risk undisclosed.

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?

Three short sentences, front-loaded with the action and scope, then the funding path, then the limitation and refusal condition. No filler or restatement of the name/title.

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?

With an output schema present, return values need not be described, and the description covers action, funding flow, limits, and failure mode. The one meaningful gap is repeat-call behavior for a tool annotated as non-idempotent, plus any permission requirements for the API key.

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?

The single parameter has 0% schema description coverage, so the description carries the burden, and it contributes only 'for one engine', which implies product selects an engine. The ten enum values (MOB, CNG, HSM, ...) are left completely unexplained in both schema and description, so an agent cannot tell what each code means.

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 ('Opens a prepaid usage account') with tight scope ('for one engine for this API key') and a concrete starting state ('balance starts at zero'). The explicit disambiguation 'This is not a licence and does not deliver source' separates it from the licence/terms siblings, and 'balance starts at zero' separates it from create_order and get_usage_balance.

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?

Gives the precondition ('Refused while pay-per-use is off or unconfigured') and the required follow-up action, naming the exact path POST /v1/agent/usage/:id/credits for adding credits. It does not explicitly contrast with create_order or explain when a caller should prefer a different account type, so it stops short of full routing guidance.

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