Skip to main content
Glama
krmisystems

fantasy-football-manager

execute_demo_action

DestructiveIdempotent

Execute a validated fantasy football proposal in demo mode, confirming approval and replaying idempotently to safely test lineup changes without affecting live data.

Instructions

Execute an existing proposal against synthetic demo state only.

First call prepare_action, then obtain approval for that exact proposal when requires_confirmation is true. Execution rechecks snapshot and configuration revisions, freshness, automation modes, and action limits before changing state. Returns status='executed', scope, action, proposal_id, and the new revision, and records one audit event. Retrying a completed proposal returns its original result with idempotent_replay=true, without another state change or approval check. Unknown or changed proposals fail. Use the ESPN companion for live submissions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
proposal_idYesExact proposal_id returned by prepare_action in this data directory. Reuse the same ID to retry an uncertain response.
confirmationNoSet true only after the user approves this exact proposal in review mode. Automatic mode does not require confirmation.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.1.1
    • addedInput schema / properties / confirmation / description
      Added value: +"Set true only after the user approves this exact proposal in review mode. Automatic mode does not require confirmation."
    • addedInput schema / properties / proposal_id / description
      Added value: +"Exact proposal_id returned by prepare_action in this data directory. Reuse the same ID to retry an uncertain response."
  2. First observedv0.1.0

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare destructiveHint and idempotentHint, but the description adds specifics: rechecks snapshot/config revisions, freshness, automation modes, action limits; records one audit event; retries return original result with idempotent_replay=true without state change; unknown or changed proposals fail. No contradictions with annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured with clear sentence separation, front-loading the core purpose. It is slightly longer than minimal but every sentence adds important behavioral or usage context, so it earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the output schema, annotations, and detailed description, everything an agent needs to know is covered: prerequisites, approval flow, idempotency, failure modes, and the synthetic demo scope. No significant gaps remain.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% with descriptions for both parameters. The description adds value by explaining that proposal_id must be the exact one from prepare_action and that confirmation is only needed in review mode, beyond what the schema states. This justifies a score above the baseline of 3.

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 tool's verb and resource: 'Execute an existing proposal' and scopes it to 'synthetic demo state only'. It also differentiates from siblings by referencing prepare_action and the ESPN companion for live submissions, so an agent can distinguish it from related tools.

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

Usage Guidelines5/5

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

It explicitly says to first call prepare_action and obtain approval when requires_confirmation is true. It also states when not to use it ('Use the ESPN companion for live submissions') and describes retry and failure conditions, giving clear usage context.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.