Skip to main content
Glama
i-am-david-weinstein

ESPN Fantasy MCP Server

cancel_trade

Cancel a pending trade proposal you sent. Use a confirmation pattern: first preview, then confirm with your transaction ID.

Instructions

Cancel a pending trade proposal you sent. Uses a confirmation pattern: first call (confirm=false) previews the cancellation, second call (confirm=true) executes it. You need the transaction ID from the original trade proposal.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
confirmNoIf false (default), returns a preview. If true, cancels the trade proposal.
team_idNoYour team ID (1-based index)
league_idNoESPN League ID (defaults to configured league)
season_yearNoSeason year (defaults to current year)
transaction_idNoTransaction ID from the original trade proposal
scoring_period_idNoScoring period for the transaction (defaults to current)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

No annotations provided, so description must disclose behavior; explains preview/execute mechanism but doesn't mention destructive nature or rate limits. Adequate but not rich beyond what's needed.

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, front-loaded with purpose, no wasted words.

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, confirmation pattern, and required transaction ID; output schema exists for return values. Minor omission: doesn't mention that team_id may be needed, but it's optional 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 covers 100% of parameters with descriptions; description adds confirmation pattern context but doesn't significantly enhance parameter meaning beyond schema baseline.

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?

States 'Cancel a pending trade proposal you sent' with specific verb and resource; clearly distinguishable from sibling tools like propose_trade, accept_trade, decline_trade.

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?

Describes confirmation pattern (preview then execute) and mentions need for transaction ID; provides clear context, though no explicit when-not-to-use guidance.

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/i-am-david-weinstein/espn-fantasy-mcp'

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