Skip to main content
Glama

close_goal

Destructive

Buyer: the task your principal gave you is done (reached) or given up (abandoned). Signs one goal_end naming every purchase that served it, and nothing more is bought for this goal. Give the same goal text you gave in because, or its goal_sha256. Needs your key.

Input Schema

NameRequiredDescriptionDefault
goalNothe goal text exactly as in because
outcomeYes
goal_sha256No

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Beyond the annotations (destructiveHint=true, non-idempotent), the description discloses real consequences: it 'signs one goal_end naming every purchase that served it, and nothing more is bought for this goal,' and notes the key requirement. This adds meaningful side-effect and auth context the annotations do not carry. It stops short of saying whether the action is reversible or what happens on failure.

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 text is dense but front-loads the core action and outcome semantics before the parameter/key details. Every sentence carries information (purpose, consequence, parameter reuse, auth). The terse phrasing is efficient rather than padded.

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 destructive, key-gated action with no output schema, the description covers the outcome meaning, the side effect of closing the goal, and the credential requirement. It omits error/reversibility behavior and the exact identity of 'goal_end', but an agent has enough to invoke it correctly.

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 coverage is only 33% (only 'goal' has a description), so the description must compensate. It does: it explains that 'goal' should be the exact text used in 'because' or its 'goal_sha256', and clarifies the two 'outcome' values (reached/abandoned). This meaningfully fills the gaps the schema leaves.

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 concrete outcome/side effect: signing a single goal_end that records either 'reached' or 'abandoned' and halts further buying for the goal. It is specific about the resource (the goal) and its closing semantics. It does not, however, clearly distinguish itself from related lifecycle tools like close_tender, leaving some sibling disambiguation implicit.

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?

It gives the triggering condition (task done vs given up) and instructs reusing the goal text from 'because', which is useful context. But there is no explicit when-not-to-use guidance or naming of alternatives, so usage is implied rather than fully spelled out.

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