Skip to main content
Glama

multi_condition_payment

Send tokens on the Pharos network only if multiple token price conditions are met, using AND or OR logic to combine thresholds.

Instructions

Send a payment only if multiple token price conditions pass, combined with AND or OR logic

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toYesRecipient wallet address
amountYesAmount to send in human readable units, e.g. "5.00"
tokenYesToken to send if conditions pass
conditionsYesList of price conditions to evaluate
logicNoAND requires every condition to pass, OR requires at least oneAND
networkNoNetwork to use: testnet (default) or mainnet
Behavior2/5

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

No annotations provided, so description carries full burden. Mentions conditional payment but omits behavioral traits: what happens if conditions fail (revert? no-op?), authorization needs, gas costs, or default network behavior. Schema shows network defaults to testnet but description does not note this.

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?

Single sentence, no unnecessary words, front-loads the key concept.

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

Completeness2/5

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

Given complexity (6 params, nested conditions, no output schema), description is too brief. Does not explain what happens after conditions, return values, or error scenarios.

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 description coverage is 100% so baseline is 3. The description adds value by explaining the overall logic of conditions and combining with AND/OR, giving context beyond the schema's individual parameter descriptions.

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 clearly states the action ('Send a payment'), the resource ('payment'), and the specific condition ('only if multiple token price conditions pass, combined with AND or OR logic'). It differentiates from sibling tools like 'conditional_payment' which likely handles single conditions.

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

Usage Guidelines2/5

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

No explicit guidance on when to use this tool vs alternatives. Does not mention siblings like 'batch_send' or 'conditional_payment' or context where AND/OR logic is beneficial.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Irohitjain/agentpay-pharos'

If you have feedback or need assistance with the MCP directory API, please join our Discord server