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.

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. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, and the description goes beyond them by specifying exactly what is destroyed (pending requests are declined) versus preserved (accepted and running deals keep their terms), plus the no-op behavior on an already-closed pact. It omits any authorization or reversibility note, which is the only real gap given the destructive annotation.

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 effect statement is front-loaded, which is good, but the description repeats itself: pending/waiting requests being declined is stated twice, and "running deals keep their terms" appears twice with slightly different wording. Tightening to two sentences would remove the redundancy 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?

An output schema exists, so return values need not be explained, and the annotations cover the safety profile. The description supplies the remaining behavioral essentials — downstream effects on pending vs. running deals and idempotent re-close — leaving only auth/permission context unstated, which the api_key schema field partially covers.

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% with only two parameters, and the schema already documents pact_id format (pc_…) and the conditional api_key. The description adds nothing about parameter semantics, 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 opens with a specific verb+resource ("Closes a pact") and immediately enumerates the consequences, so the operation is unambiguous. It does not name any sibling tool or contrast itself with alternatives such as add_pact, but the siblings in this set are unrelated operations, so differentiation is less critical.

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 through state conditions ("No new requests on it", "so influencers can request an open pact"), which hints at when the operation makes sense. There is no explicit statement of prerequisites (permissions, ownership) or when an agent should prefer a different tool over closing.

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