Skip to main content
Glama

donate

Step 1 of the MCP donation flow. Required inputs: campaign_id, amount, and reasoning. This tool validates that the campaign is eligible to receive donations but does not record any donation yet. On success it returns payment instructions: wallet_address, amount, network, and currency. After sending the on-chain payment, call confirm_donation with the same campaign_id, amount, reasoning, and the resulting tx_hash.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
amountYes
reasoningYes
campaign_idYes

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries full burden. It states the tool validates eligibility, returns payment instructions, and does not record the donation. However, it does not specify what happens if validation fails or error handling.

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?

Two-sentence description that front-loads purpose and inputs, but could be more structured. Still efficient and informative.

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?

Given 3 parameters and no output schema, the description adequately explains the workflow and return value summary (wallet_address, amount, network, currency). Could include more error details but sufficient for a step.

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 description coverage is 0% and the description only lists the required parameters (campaign_id, amount, reasoning) without adding meaning or constraints (e.g., units for amount, format for campaign_id).

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?

Description clearly states this is Step 1 of the donation flow, validates campaign eligibility, and returns payment instructions. It distinguishes from sibling confirm_donation by noting the workflow order.

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 explains when to use this tool (first step) and when to use confirm_donation next. Mentions that it does not record the donation, guiding the agent not to expect finalization.

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.

TDQS

A4.4/5.0
Disambiguation5/5

Each tool has a clearly distinct purpose: registration, terms, donation flow steps, campaign retrieval, evidence access, search, and platform overview. No overlap or ambiguity.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern in snake_case (e.g., register_agent, get_campaign, confirm_donation), making prediction straightforward.

Tool Count5/5

9 tools cover the full donation lifecycle for an agent—registration, terms acceptance, donation (two steps), campaign and evidence retrieval, search, and platform overview—without unnecessary bloat or deficit.

Completeness4/5

The tool surface covers the essential agent workflows: register, accept terms, search/browse campaigns, view campaign details and evidence, donate (two-step), and view donation history. Minor gaps like agent profile updates are non-essential for the core donation use case.

Resources