Skip to main content
Glama

FanZero — indie game distribution

Add pact

add_pact

Offers one more revenue-share pact on one of your games. Same rules for every pact: one influencer at a time, for the pact's weeks (2 to 8, 4 if left out) from the first proposed action date, share_pct% of net revenue from every store. Get the terms, length included, from your human.

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": {
      "game_id": "<game_id>",
      "action": "<action>",
      "share_pct": "<share_pct>"
    },
    "name": "add_pact"
  }
}

Input Schema

NameRequiredDescriptionDefault
weeksNoHow long the pact runs, in weeks: 2 to 8, 4 if left out. The window starts at the influencer's earliest approved action date.
actionYesWhat the influencer (a streamer, YouTuber or TikToker) does: livestream, video, short, post or playtest
api_keyNoStudio API key. Only needed when the connection does not send Authorization: Bearer <key> (for example in the session that created the studio): then pass it on every call.
game_idYesGame id (gm_…) or slug
share_pctYesPercent of the game's net revenue from every store, for the pact's weeks from the earliest date in the influencer's approved action plan. In percent: 10 means 10%. Above 0, at most 50.
requirementNoConcrete requirement, e.g. "60+ min live, game title in stream title". Left out, a generic one for the action is used.
min_audienceNoOptional follower floor. Followers are self-reported; pitches below it are flagged (below_min_audience), not blocked.

Output Schema

NameRequiredDescriptionDefault
pactYes
warningsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • changedInput schema / properties / share_pct / description
      Previous value: -"Percent of the game's net revenue from every store, for 4 weeks from the earliest date in the influencer's approved action plan. In percent: 10 means 10%. Above 0, at most 50. The window length is fixed."New value: +"Percent of the game's net revenue from every store, for the pact's weeks from the earliest date in the influencer's approved action plan. In percent: 10 means 10%. Above 0, at most 50."
    • addedInput schema / properties / weeks
      Added value: +{
      +  "description": "How long the pact runs, in weeks: 2 to 8, 4 if left out. The window starts at the influencer's earliest approved action date.",
      +  "maximum": 8,
      +  "minimum": 2,
      +  "type": "integer"
      +}
    • addedOutput schema / properties / pact / properties / weeks
      Added value: +{
      +  "type": "integer"
      +}
    • addedOutput schema / properties / pact / properties / window_days / description
      Added value: +"weeks * 7"
    • changedOutput schema / properties / pact / required
      Previous value: -[
      -  "id",
      -  "action",
      -  "share_pct",
      -  "window_days",
      -  "requirement",
      -  "min_audience",
      -  "open",
      -  "created_at"
      -]New value: +[
      +  "id",
      +  "action",
      +  "share_pct",
      +  "weeks",
      +  "window_days",
      +  "requirement",
      +  "min_audience",
      +  "open",
      +  "created_at"
      +]
  2. Changed2 schema fields changed
    • changedInput schema / properties / action / description
      Previous value: -"What the streamer (or YouTuber, TikToker) does: livestream, video, short, post or playtest"New value: +"What the influencer (a streamer, YouTuber or TikToker) does: livestream, video, short, post or playtest"
    • changedInput schema / properties / share_pct / description
      Previous value: -"Percent of the game's net revenue from every store, for 4 weeks from the earliest date in the creator's approved action plan. In percent: 10 means 10%. Above 0, at most 50. The window length is fixed."New value: +"Percent of the game's net revenue from every store, for 4 weeks from the earliest date in the influencer's approved action plan. In percent: 10 means 10%. Above 0, at most 50. The window length is fixed."
  3. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare it non-read-only, non-destructive, non-idempotent, and closed-world. The description adds genuine business rules beyond that: one influencer at a time per pact, a 2-8 week (default 4) window anchored to the first proposed action date, and a share of net revenue from every store. It does not disclose what happens on repeat submissions (relevant given idempotentHint=false) or what the offer's lifecycle state becomes.

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?

Three tight sentences: purpose first, then the invariant pact rules, then the human-input instruction. No filler, though the phrase "Get the terms, length included, from your human" is slightly awkward and the rules sentence is dense with parenthetical defaults.

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?

With a 7-parameter schema fully described and an output schema present, the description only needs to carry the business semantics — and it does, covering duration anchoring, revenue basis, and exclusivity. The main gap is offer-lifecycle/repeat-call behavior, which an agent would want given the non-idempotent hint.

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%, so every parameter including weeks, share_pct, action and game_id is already documented in the schema. The description restates the weeks default and the share_pct basis, which reinforces but does not extend the schema; requirement and min_audience are left entirely to the schema. 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?

"Offers one more revenue-share pact on one of your games" states a specific verb (offer/add) and resource (revenue-share pact) tied to a game. An agent can tell this is the create-side counterpart to close_pact, though the sibling is never named explicitly.

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?

"Get the terms, length included, from your human" gives a real precondition — consult the operator before calling — which is useful context for an agent. However, it never states when not to use this tool, how it differs from close_pact, or what happens if an offer already exists for that game/influencer.

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