Skip to main content
Glama
This connector has been deprecated

duplicate

Report a deposit

report_deposit
Idempotent

Optionally tell Port66 the transaction hash of the buyer's deposit for a purchase, so NEAR Intents spots the payment sooner. Not required: deposits are detected on their own. Does not move money or change the amount due. Returns the purchase's current state. Safe to call more than once. Requires a Port66 session.

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": {
      "checkout_id": "<checkout_id>",
      "tx_hash": "<tx_hash>"
    },
    "name": "report_deposit"
  }
}

Input Schema

NameRequiredDescriptionDefault
tx_hashYesThe hash (transaction id) of the deposit the buyer sent, as shown by their wallet or a block explorer.
checkout_idYesThe checkout_id returned by start_purchase.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • changedInput schema / properties / checkout_id / description
      Previous value: -"The checkout_id from start_purchase"New value: +"The checkout_id returned by start_purchase."
    • changedInput schema / properties / tx_hash / description
      Previous value: -"Hash of the deposit transaction"New value: +"The hash (transaction id) of the deposit the buyer sent, as shown by their wallet or a block explorer."
  2. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare idempotentHint=true, destructiveHint=false and openWorldHint=true, so 'Safe to call more than once' largely restates structured data. The description does add real context beyond them: it clarifies the call does not move money or alter the amount due despite readOnlyHint=false, and it discloses the session requirement. It stops short of covering what happens with an invalid or unconfirmed tx_hash.

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?

The description is short, front-loaded with the imperative purpose, and every sentence carries a distinct fact: optionality, no money movement, return value, idempotency, auth. Nothing is repeated or padding.

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?

For a two-parameter write tool with full annotation coverage this is close to complete: purpose, optionality, side effects, auth, and repeat-call safety are all stated. The one soft spot is the vague 'Returns the purchase's current state' with no output schema to define that shape, and no guidance on error or unconfirmed-hash behavior.

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?

Schema description coverage is 100%, so both tx_hash and checkout_id are already well documented, including the pointer back to start_purchase. The description adds only framing ('the buyer's deposit for a purchase') and no format, confirmation-depth, or validation detail beyond the schema, so baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The first sentence states a specific verb and resource: submit the buyer's deposit transaction hash for a purchase, with the stated benefit that NEAR Intents spots the payment sooner. It is clearly a write/report action rather than a lookup, which separates it from read-only siblings like purchase_status, though it does not name the sibling to prefer when the agent only wants status.

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?

'Not required: deposits are detected on their own' tells the agent this is an optional accelerator rather than a mandatory step, which is exactly the context needed to avoid unnecessary calls. 'Requires a Port66 session' adds a prerequisite gate; the only gap is that no alternative tool is named for the case where the agent just wants to check state.

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