Skip to main content
Glama

verify_delivery

Confirm satisfactory delivery and release escrow payment to service providers in the402.ai marketplace. Use after reviewing delivered work to complete transactions.

Instructions

Agent confirms that delivery is satisfactory and releases the escrow payment to the provider. Costs $0.001 from balance. Only use after reviewing the delivered work. Requires API key.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
thread_idYesThe thread ID to verify

Implementation Reference

  • The verify_delivery tool implementation, including its registration, description, schema, and handler logic that calls the /v1/threads/{thread_id}/verify endpoint.
    server.tool(
    	"verify_delivery",
    	"Agent confirms that delivery is satisfactory and releases the escrow payment to the provider. Costs $0.001 from balance. Only use after reviewing the delivered work. Requires API key.",
    	{
    		thread_id: z.string().describe("The thread ID to verify"),
    	},
    	async ({ thread_id }) => {
    		const result = await client.balancePost(
    			`/v1/threads/${thread_id}/verify`
    		);
    		return {
    			content: [
    				{ type: "text" as const, text: JSON.stringify(result, null, 2) },
    			],
    		};
    	}

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/the402ai/mcp-server'

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