Skip to main content
Glama

FanZero — indie game distribution

Close pact

close_pact
DestructiveIdempotent

Closes a pact; requests still waiting on it are declined. Running deals keep their terms. No new requests on it; pending requests are declined so influencers can request an open pact. Accepted and running deals keep their terms. Closing a closed pact changes nothing.

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": {
      "pact_id": "<pact_id>"
    },
    "name": "close_pact"
  }
}

Input Schema

NameRequiredDescriptionDefault
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.
pact_idYesPact id (pc_…)

Output Schema

NameRequiredDescriptionDefault
pactYes
passedYesWaiting requests declined

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • 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. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations declare destructiveHint=true and idempotentHint=true, and the description usefully clarifies the blast radius: pending requests are declined, accepted/running deals keep their terms, and no new requests are accepted. That is exactly the extra context an agent needs to reason about a destructive call, though it restates idempotency that the annotation already provides.

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 core action is front-loaded, but the text is visibly redundant: 'requests still waiting on it are declined' is restated as 'pending requests are declined', and 'Running deals keep their terms' appears twice almost verbatim. Several sentences could collapse into two without losing information.

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?

For a low-complexity mutation with an output schema and full annotation coverage, the description supplies the key behavioral consequences (pending requests declined, running deals preserved, no-op when already closed). Only the api_key fallback and the notion of what a pact is are left to the schema, which is acceptable.

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 description coverage is 100% with only two parameters (pact_id and the conditionally-needed api_key), both documented in the schema itself. The description adds nothing about parameters, which is acceptable at this coverage level.

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?

States a specific verb and resource ('Closes a pact') and immediately describes the effect on the pact's requests and deals, so an agent knows exactly what operation this is. It does not, however, differentiate itself from any sibling tool (there is no alternative close/archive tool named), 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?

The description implies the motivation for closing ('so influencers can request an open pact') and notes that closing an already-closed pact is harmless, which helps an agent decide it is safe to call. It never states explicit when-to-use vs when-not conditions or names an alternative operation, so guidance remains implicit.

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