Skip to main content
Glama

mt_fantasy_commit

DestructiveIdempotent

Commit a fantasy lineup with a SHA-256 hash anchored on Base L2, creating a tamper-proof W3C credential that proves the lineup was locked before contest start.

Instructions

Commit a fantasy lineup with a SHA-256 hash anchored on Base L2.

Creates a FantasyLineupCredential (W3C VC) proving the lineup was locked before contest start. The commitment hash is tamper-proof.

Args: agent_did: Agent DID (e.g. "did:moltrust:a1b2c3d4e5f67890") contest_id: Unique contest identifier (e.g. "dk-nfl-sun-main-2026w12") platform: Platform name: draftkings, fanduel, yahoo, sleeper, custom sport: Sport type: nfl, nba, mlb, nhl, pga, nascar, soccer, custom contest_start_iso: Contest start time in ISO 8601 (must be in the future) lineup_json: JSON string of lineup object (e.g. '{"QB":"Mahomes","RB1":"Henry"}') projected_score: Agent's projected score for this lineup confidence: Confidence level 0.0 to 1.0 entry_fee_usd: Contest entry fee in USD contest_type: Contest type (e.g. "classic", "showdown")

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": {
      "agent_did": "<agent_did>",
      "contest_id": "<contest_id>",
      "platform": "<platform>",
      "sport": "<sport>",
      "contest_start_iso": "<contest_start_iso>",
      "lineup_json": "<lineup_json>"
    },
    "name": "mt_fantasy_commit"
  }
}

Input Schema

NameRequiredDescriptionDefault
sportYesSport type: nfl, nba, mlb, nhl, pga, nascar, soccer, custom
platformYesPlatform name: draftkings, fanduel, yahoo, sleeper, custom
agent_didYesAgent DID (e.g. "did:moltrust:a1b2c3d4e5f67890")
confidenceNoConfidence level 0.0 to 1.0
contest_idYesUnique contest identifier (e.g. "dk-nfl-sun-main-2026w12")
lineup_jsonYesJSON string of lineup object (e.g. '{"QB":"Mahomes","RB1":"Henry"}')
contest_typeNoContest type (e.g. "classic", "showdown")classic
entry_fee_usdNoContest entry fee in USD
projected_scoreNoAgent's projected score for this lineup
contest_start_isoYesContest start time in ISO 8601 (must be in the future)

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed10 schema fields changedv1.3.1
    • addedInput schema / properties / agent_did / description
      Added value: +"Agent DID (e.g. \"did:moltrust:a1b2c3d4e5f67890\")"
    • addedInput schema / properties / confidence / description
      Added value: +"Confidence level 0.0 to 1.0"
    • addedInput schema / properties / contest_id / description
      Added value: +"Unique contest identifier (e.g. \"dk-nfl-sun-main-2026w12\")"
    • addedInput schema / properties / contest_start_iso / description
      Added value: +"Contest start time in ISO 8601 (must be in the future)"
    • addedInput schema / properties / contest_type / description
      Added value: +"Contest type (e.g. \"classic\", \"showdown\")"
    • addedInput schema / properties / entry_fee_usd / description
      Added value: +"Contest entry fee in USD"
    • addedInput schema / properties / lineup_json / description
      Added value: +"JSON string of lineup object (e.g. '{\"QB\":\"Mahomes\",\"RB1\":\"Henry\"}')"
    • addedInput schema / properties / platform / description
      Added value: +"Platform name: draftkings, fanduel, yahoo, sleeper, custom"
    • addedInput schema / properties / projected_score / description
      Added value: +"Agent's projected score for this lineup"
    • addedInput schema / properties / sport / description
      Added value: +"Sport type: nfl, nba, mlb, nhl, pga, nascar, soccer, custom"
  2. First observedv1.2.0

TDQS

B3.3/5.0
Behavior3/5

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

The description adds real context beyond the annotations: the commitment is tamper-proof, anchored on Base L2, and produces a verifiable W3C credential. However, with destructiveHint=true and idempotentHint=true already declared, it says nothing about what is destroyed or whether repeating the call with identical arguments returns the same credential or a second one — exactly the questions those hints raise.

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

Conciseness3/5

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

The two-sentence opening is well front-loaded and earns its place. The ten-line Args block then duplicates the fully documented input schema word for word, which is padding rather than value and inflates the definition considerably.

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

Completeness3/5

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

An output schema exists, so return values need no explanation. For an irreversible, chain-anchored write operation, though, the description omits failure behavior, whether the credential is retrievable afterward, and how it links to verification siblings — gaps that matter for a mutation of this consequence.

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 the schema already documents all ten parameters; the Args block is a near-verbatim restatement of those descriptions. It adds no format rules, enum constraints, or validation semantics beyond what the schema provides, so the 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 description states a specific verb and resource — committing a fantasy lineup and minting a FantasyLineupCredential (W3C VC) with a SHA-256 hash anchored on Base L2. That is far clearer than a restated name. It never distinguishes this tool from the sibling mt_fantasy_verify or mt_fantasy_history, so it stops short of a 5.

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?

Usage is only implied: the lineup must be committed before contest start, and contest_start_iso 'must be in the future' hints at the timing precondition. There is no explicit when-to-use vs. when-not instruction and no pointer to mt_fantasy_verify for the natural follow-up step of checking the credential.

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