Skip to main content
Glama

Enter a booth's raffle

booth_enter_raffle
Idempotent

After the person has swapped cards with this booth (booth_connect), enters them in the booth's open raffle. Pass eventId and boothId as booth_connect was given them. Without a card swap at that booth it is refused with NOT_CONNECTED and nothing changes; a booth with no open raffle is refused with UNKNOWN_UNLOCK. A raffle they are already in is not entered twice: the reply says already. Returns ok, the raffle's id, done and a sentence for the person. Needs a personal connector token. It works in two steps: a call with no confirm returns a confirmToken and changes nothing; a call with confirm true and that token applies it.

Input Schema

NameRequiredDescriptionDefault
boothIdYesThe booth id, as booth_connect was given it.
confirmNoAbsent on the first call, which changes nothing. true, together with confirmToken, applies it.
eventIdYesThe event id or public slug the booth is at.
confirmTokenNoThe token the first call returned. Needed when confirm is true.

Output Schema

NameRequiredDescriptionDefault
idNo
okNo
codeNo
doneNo
editNo
kindNo
boothNo
errorNo
titleNo
alreadyNo
messageNo
previewNo
servedByNo
confirmTokenNo
expiresInSecondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Goes well past the annotations: it discloses the two error-refusal paths and that 'nothing changes' on refusal, the de-duplication behaviour ('already') which concretely backs idempotentHint, the auth requirement (personal connector token), and the two-step confirm/confirmToken protocol in which the first call mutates nothing. Nothing an agent could get wrong about side effects is left unstated.

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 purpose and precondition are front-loaded, and each sentence carries distinct information (precondition, errors, idempotency, return shape, auth, two-step flow). It is dense but slightly run-on, packing the two-step protocol into one trailing clause rather than breaking it out.

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?

For a mutating, gated, two-step tool this covers everything material: prerequisite, refusal modes, idempotency, auth requirement, and the confirm handshake. An output schema exists, and the description's mention of returned fields (ok, id, done, sentence) is a bonus rather than a gap-filler.

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% and the schema descriptions already explain confirm, confirmToken and boothId in nearly the same words the description uses ('Pass eventId and boothId as booth_connect was given them' vs. 'The booth id, as booth_connect was given it'). The description adds little parameter-level meaning beyond the schema, so the baseline 3 applies.

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 a specific verb and resource ('enters them in the booth's open raffle') and pins the exact precondition that separates it from siblings ('After the person has swapped cards with this booth (booth_connect)'). An agent can distinguish it from booth_connect, booth_claim_swag and the event_* tools without opening any schema.

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?

Gives an explicit prerequisite (a prior card swap at that booth), explicit when-not conditions with the resulting error codes (NOT_CONNECTED, UNKNOWN_UNLOCK), and names the sibling that must run first. The conditions that select or reject this tool are spelled out rather than inferred.

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.

Resources