Skip to main content
Glama

Agentic Endpoints

Get free credit to try the paid tools

credits_trial
Idempotent

Free, and the first tool to call if any other tool has told you payment is required. Returns a credit_token carrying $0.10 of credit — roughly ten calls at the standard price — with no wallet, no signature, no account and no email. Pass the returned token as the credit_token argument to any paid tool and it will run without an x402 payment. One allowance per caller: asking again returns the same token and whatever balance is left on it, never a refill. When it runs out, buy more with the /credits/buy endpoint. This tool is free; no payment is required.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
nextNoWhat to do when it runs out
noteNoWhy a second request returns the same token rather than more credit
trialYesAlways true; distinguishes this from purchased credit
usageNoHow to spend the token
exhaustedYesTrue when the allowance is spent. Asking again will not refill it, so buy credit or pay per call.
balance_usdYesCredit remaining, in dollars
granted_usdNoSize of the one-off allowance
credit_tokenYesThe token to pass as `credit_token` to any paid tool. Shown here and derivable again from the same caller, but not recoverable from us.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations say readOnlyHint=false but idempotentHint=true and destructiveHint=false, which aligns with 'one allowance per caller' returning the same token without side effects. The description adds high-value context beyond annotations: no wallet, signature, account, or email required; no x402 payment; the exact value and approximate call count; and the non-refill behavior. It clarifies the stateful allowance semantics and downstream token use.

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?

It is front-loaded with the core value (free, first tool to call), then covers return value, usage, limits, and alternatives in four compact sentences. Every sentence adds unique information without repetition or fluff.

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

Completeness5/5

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

For a zero-param, free tool with an output schema, the description covers purpose, usage, return value semantics (token and value), limitations (one allowance, no refill), and the alternative purchase path. It is complete enough for an agent to invoke and use it correctly.

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?

There are zero parameters, so baseline is 4. The description explains how to use the returned credit_token as an argument to paid tools, which is useful integration guidance beyond the empty schema. No parameter syntax is needed, but it could mention whether the token is passed as a string or object if relevant.

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 states a specific verb and resource: it grants free credit and returns a credit_token worth $0.10. It also distinguishes itself from siblings by naming itself as the first tool to call when another tool reports payment required, and explicitly contrasts with /credits/buy as the refill path.

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?

It gives explicit when-to-use guidance: call this first if any tool says payment is required. It also states when not to expect more: one allowance per caller, asking again returns the same token, and refills come from /credits/buy. This is precise routing.

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