Skip to main content
Glama

verify_fees

Verify off-chain fee quote matches on-chain DPXSettlementRouter charge. Returns true if fees match, enabling settlement.

Instructions

Verify that the off-chain fee quote matches what the on-chain DPXSettlementRouter contract will charge. Returns feesMatch (true/false). If feesMatch is true, proceed with settlement. Call this after get_quote and before settle.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
amountUsdYesSettlement amount in USD
hasFxNoCross-currency settlement?
esgScoreNoESG score 0–100

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
feesMatchNo
offChainFeeNo
onChainFeeNo
deltaNo
recommendationNo
Behavior3/5

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

With no annotations, the description must disclose behavioral traits. It states the tool is a verification returning a boolean, but does not explicitly say whether it is read-only or has side effects. Adequate but not fully transparent.

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?

Two sentences, no wasted words. First sentence describes purpose, second gives workflow context. Ideal structure.

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?

The description covers purpose, workflow position, and return value. However, no output schema is provided despite mentioning 'feesMatch' return, leaving a minor gap. Still fairly complete for a simple verification tool.

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?

All three parameters have descriptions in the input schema (100% coverage), so the description does not need to add much. It does not provide extra meaning beyond the schema.

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?

Clearly states the verb 'verify' and the specific resources: off-chain fee quote vs on-chain contract. Returns a boolean result. Distinguishes itself from siblings like get_quote and settle by its position in the workflow.

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?

Explicitly tells when to call this tool: 'after get_quote and before settle.' Also indicates what to do if feesMatch is true. Could mention when not to use it but context is clear.

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/untitledfinancial/dpx-mcp'

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