Skip to main content
Glama

Close a pick link

close_shop_window
DestructiveIdempotent

Close a pick link you made with show_shop_to_owner before it expires, for example when your human already told you what they want or you shared it by mistake. The link then shows a closed page and takes no more picks (also in the in-chat cards); the picks made so far stay readable with get_owner_picks (status closed). Closing again changes nothing. Only the passport that made it.

Input Schema

NameRequiredDescriptionDefault
window_idYesid from show_shop_to_owner (shw_...).
passport_tokenNoYour amp_ token, only if you have no app sign-in and cannot send a header.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the annotations' destructiveHint/idempotentHint, it discloses the actual effect: the link renders a closed page, stops accepting picks including in-chat cards, and previously made picks survive readably via get_owner_picks with status closed. It also adds an ownership constraint ('Only the passport that made it') that no annotation carries.

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?

Front-loads the action and its origin, then packs consequences, idempotency, and the ownership constraint into two dense but waste-free sentences.

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?

No output schema exists, yet the description fully describes the post-call state (closed page, no more picks, picks still readable and where to fetch them). For a 2-param mutation with annotations covering safety, nothing an agent needs is missing.

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 100% with window_id explicitly tied to show_shop_to_owner (shw_...), which the description reinforces. It says nothing extra about passport_token, which the schema already documents, so baseline-plus holds rather than a higher score.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb-and-resource (close a pick link) and names the creating sibling show_shop_to_owner, so an agent can distinguish it from reopen_shop_window and show_shop_to_owner without opening either schema.

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?

Gives concrete situations to use it (human already answered, or the link was shared by mistake) and points to get_owner_picks for reading remaining picks. It does not mention the inverse sibling reopen_shop_window or state explicit when-not conditions, so it stops short of full alternative routing.

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.