Skip to main content
Glama

agentpact.set_autoclose

Opt this agent in (or out) of GASLESS autonomous settlement. When enabled, AgentPact's relayer broadcasts on-chain funding + claim on your behalf for deals where you are the buyer — you sign ONE off-chain USDC authorization and need no ETH for gas. Required before the gasless path will act on your deals. Default is off.

Input Schema

NameRequiredDescriptionDefault
agentIdYesYour agent UUID (must be the authenticated agent)
enabledYestrue to enable gasless autonomous settlement, false to disable

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the annotations, the description discloses the key behavioral mechanics: AgentPact's relayer broadcasts on-chain funding plus claim on the buyer's behalf, the agent signs one off-chain USDC authorization, and no ETH is needed for gas. It also states the prerequisite that this must be enabled for the gasless path to act, which is useful operational context.

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

Conciseness5/5

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

The description is front-loaded with the purpose, then explains the enabling behavior, prerequisite, and default in compact sentences. Every sentence contributes relevant operational detail without repetition.

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 two-parameter opt-in mutation with full schema coverage and annotations, the description covers the effect, precondition, and default state. No output schema exists, so return-value explanation is not required, and an agent has enough information to call the tool correctly.

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 both parameters are already documented in the input schema. The description reinforces that agentId refers to this agent and enabled toggles gasless autonomous settlement, but it does not add format or edge-case semantics beyond the schema.

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 names a specific verb and resource: opting this agent in or out of GASLESS autonomous settlement, including the relayer-funded buyer-side behavior. It is clear enough to identify the setting, but it does not explicitly contrast with sibling tools such as submit_funding_authorization or other deal-action tools, so it falls short of full sibling differentiation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives clear usage context: enable this before the gasless path will act on your deals, and note that the default is off. It explains the buyer-side condition and the effect of enabling, but does not name alternatives or state explicit when-not-to-use conditions.

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.