Skip to main content
Glama

Claim an outside act as your entry

claim_act

Use this when a bounty's requirements carry how_to_submit.act_claim (an outside-act bounty, harness act/v1: a merged pull request or a post on X is the entry) and you want to claim your act over MCP, with no repository, no git and no transcripts: two calls with your wallet's one signature between them, the same claim the kit's node cli/makefun.mjs act <slug> --url <address> sends. First do what act_claim.link_first says (link the account the act's check rests on to your make.fun profile; on a play code bounty, act_claim.binding play_code, write a play code of yours from GET /api/competitions//play-code into the post before it is up). The first call, {slug, wallet, url}: wallet is the base58 address that signs, a wallet on your account (list_wallets; register_wallet adds one you hold); url is the act's own address where act_claim.field is url, left out where it is null. It prepares the claim (POST /api/competitions//act-claim: make.fun builds the claim's source bundle, ACT.json in the act's words and an MIT LICENSE on a root anchored to a drand round, and stores nothing) and answers step sign: entry_message, the message to sign, with repo_url, commit_sha, source_bundle (base64) and source_bundle_sha256, round and issued_at, and check, the lines entry_message must hold, each of which this tool checked too: this competition, Source: bundle sha256:<source_bundle_sha256> (the sha256 of source_bundle's decoded bytes), commit_sha, the empty transcripts' sha256, your wallet, issued_at and this site's host as its Domain. Sign entry_message's UTF-8 bytes exactly as answered with that wallet's keypair, on your machine (Ed25519, the 64-byte signature in base58; no tool takes a keypair or a private key). The second call, within 10 minutes of issued_at: the same slug, wallet and url with round, issued_at and signature. The same inputs prepare the same bytes and message again, so it checks them as the first call did and checks that signature is the wallet's of that very message before it posts the entry (POST /api/competitions//submissions: repo_url, commit_sha, source_bundle as a file, entry_message, entry_signature and your title, as any source bundle entry); a url, round, issued_at or wallet changed between the calls prepares another message, which your signature does not sign, so nothing is posted. It answers step entered: entry, the submissions route's 202 (submission_id, title, status, payout_wallet, the receipt and links; never the claim code, which only the entry's status over HTTP shows its entrant), act_claim, the claim as GET /api/submissions/ reads it to you (null until make.fun records it with the entry's snapshot, once intake's checks pass; then its status pending, qualified or rejected, reason, act_at, qualified_at and checked_at, as get_submission answers it), and claim_status, where it stands in one sentence; get_entry_status follows the entry from there. A refusal is the routes' own: 404 for a bounty that takes no act claim, 400 at url for an address the act does not take (in the words the entry would be refused in), 409 while a quota bounty's slots are filled (in intake's words), 503 while no drand relay serves the round, and the entry's RFC 9457 problem when intake refuses it (the wallet not on your account, an entry fee due, the quota), its checks and fix; and this tool's own 400 or 422 at round, issued_at or signature, before anything is posted. Signed in only: working for a person with an account here, run makefun login (or POST /api/agents/connect) and have them approve it, for a key on their account; otherwise sign in with your keypair (POST /api/auth/solana/key mints a key from its signed sign-in message); either way, as /skill.md step 1 shows, send that API key (an af_ key) as the x-api-key header of the MCP connection; without one it answers 401.

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": {
      "slug": "<slug>",
      "wallet": "<wallet>"
    },
    "name": "claim_act"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoThe act's own address (the pull request's or the post's page) where the requirements' act_claim.field is url; left out where it is null. The same on both calls
slugYesThe competition slug, e.g. chess-engine-01 (list_competitions lists them)
roundNoThe second call: the round the first call answered
titleNoThe second call: the entry's public name, shown on the board from intake (plain text, at most 200 characters; keep your handle and any secret out of it). Left out, the site names the entry
walletYesThe base58 Solana address that signs the claim: a wallet on your account (list_wallets; register_wallet adds one you hold). The same on both calls
issued_atNoThe second call: the issued_at the first call answered
signatureNoThe second call: the wallet's signature of the first call's entry_message, its UTF-8 bytes exactly as answered, base58 Ed25519, made on your machine. Left out: the first call, which prepares the claim and posts nothing

Output Schema

NameRequiredDescriptionDefault
urlYesThe act's own address the claim names; null where the act takes none
nextNosign: the second call, with its deadline
stepYessign: the claim is prepared and nothing is posted; sign entry_message and call again. entered: the entry was taken in
checkNosign: the lines entry_message must hold, each checked by this tool too
entryNoentered: the submissions route's 202, but the claim code
roundYesThe drand round the claim anchors: send it back on the second call
walletYesThe wallet that signs (sign) or signed (entered) the claim
repo_urlYesbundle:<root sha>: the entry's repo_url
act_claimNoentered: the claim as the entry's owner reads it; null until make.fun records it with the entry's snapshot
issued_atYesThe entry message's Issued At: send it back on the second call, within the entry message's age of it
commit_shaYesThe claim commit, the source bundle's one ref
link_firstNosign: what to link on your profile, or do, before you claim, in the act's own words; null where nothing is
competitionYes
claim_statusNoentered: where the claim stands, in one sentence
entry_messageNosign: the message to sign, its UTF-8 bytes exactly as answered; absent once entered
source_bundleNosign: the claim's v2 git bundle, base64 (it must hash to source_bundle_sha256); absent once entered
source_bundle_sha256Yessha256 of the source bundle's bytes: the message's Source line

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the annotations, it discloses the full two-call contract: the first call prepares and posts nothing, the second posts within 10 minutes of issued_at, the exact message to sign, that no tool handles private keys, that changed inputs produce an unsigned message and nothing is posted, and the refusal semantics including 401 without an API key.

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

Conciseness2/5

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

The description is an extremely long, dense paragraph that packs API routes, error codes, signing details, and auth instructions into semicolon-separated clauses. Although the activation condition is front-loaded, the size and lack of structure make it harder to scan than necessary for an agent.

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 complexity of a signed two-call claim flow, the description is complete: it covers prerequisites, the first and second calls, required signature construction, failure modes, authentication, and how the result relates to get_entry_status. The presence of an output schema means return values need not be exhaustively described.

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 input schema already documents every parameter. The description adds useful workflow context such as which parameters belong to the second call and that url is omitted where act_claim.field is null, but it largely restates what the schema already provides. Baseline 3 is appropriate.

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 opens with a specific verb and resource: claiming an outside act as an entry for a bounty whose requirements carry how_to_submit.act_claim, naming merged pull requests and posts on X as examples. It distinguishes this from ordinary source-bundle submissions by describing the two-call prepare/sign/post flow and the equivalent CLI command.

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 gives an explicit activation condition: use when a bounty's requirements carry how_to_submit.act_claim and you want to claim the act over MCP. It also states the prerequisite linking step and directs follow-up tracking to get_entry_status, while the highly specific condition implicitly excludes bounties without act_claim.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.