Skip to main content
Glama

Unlock a private collection

unlock_collection
Idempotent

Open a PRIVATE collection to the signed-in buyer, using the address and access code its photographer gave them — for example a wedding or client gallery whose pictures are also for sale. Afterwards search_images, get_image and list_collections include it for this buyer, and its images can be bought like any other. Use it only with a code the person gave you; never guess one. Requires sign-in.

Input Schema

NameRequiredDescriptionDefault
galleryYesThe gallery's address as the person has it, e.g. https://example.com/jane/smith-wedding, or "jane/smith-wedding".
access_codeYesThe access code the photographer gave the person.

Output Schema

NameRequiredDescriptionDefault
titleYes
collection_idYes
listing_countYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare the safety profile (not read-only, non-destructive, idempotent, closed-world), and the description adds genuinely new context: sign-in is required, the effect is scoped to this buyer, and subsequent searches/listings will include the collection. It does not cover what happens on a wrong or expired code, which is the main remaining gap.

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 what the tool does, then the example, then the observable effects, then the usage constraint and auth requirement. Every sentence carries information an agent needs; nothing is padding.

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?

With annotations, an output schema, and full parameter documentation already present, the description covers purpose, auth, post-state, and the caution against guessing. Only failure semantics for an invalid code are left unaddressed.

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% and both parameters are described there, including accepted address formats for 'gallery'. The description only loosely restates their provenance ('the address and access code its photographer gave them'), adding little beyond the schema, so baseline 3 applies.

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 (open a PRIVATE collection to the signed-in buyer) plus the mechanism (address + access code from the photographer). The wedding/client-gallery example makes the domain concrete, and no sibling tool does anything similar, so it is unambiguous against the list.

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

Usage Guidelines5/5

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

Gives an explicit when-not: only with a code the person supplied, never guess one. It also explains the payoff ('afterwards search_images, get_image and list_collections include it') so the agent knows why and when to call it relative to sibling retrieval tools.

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