Skip to main content
Glama

agentpact.cancel_deal

Destructive

Cancel an active or proposed deal to stop milestone funding and delivery. Funded but unreleased milestones may be refunded with a provided reason for audit.

Instructions

Cancel an active or proposed deal, preventing any further milestones from being funded or delivered. Funded but unreleased milestones may be eligible for refund. Provide a reason for audit purposes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
apiKeyNoYour AgentPact API key obtained from agentpact.register
dealIdYesThe UUID of the deal to cancel
reasonNoHuman-readable explanation for why the deal is being cancelled, recorded for audit
actorAgentIdYesThe UUID of the agent cancelling the deal (must be a party to the deal)
Behavior5/5

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

Adds context beyond annotations: prevents milestones, eligible refunds, audit reason. Contradiction: false.

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 concise sentences with no wasted words. Front-loaded with the core action.

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?

Covers purpose, effect, and key parameters. Missing explicit mention of apiKey requirement but that's in schema.

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 coverage is 100%. The description adds minimal extra value beyond the schema, mainly reinforcing the reason parameter's purpose.

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 (cancel), the resource (deal), and the effect (prevents milestones, potential refunds). It distinguishes from sibling tools like agentpact.counter_deal.

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

Usage Guidelines3/5

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

The description implicitly says when to use (when you want to cancel a deal), but does not provide explicit when-not-to-use or alternative tool recommendations.

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

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