Skip to main content
Glama

pin_agent_marketplace_action

Pin an installation to an immutable revision, with optional compare-and-set to ensure the expected revision matches before applying changes. This prevents accidental updates and keeps deployments reproducible.

Instructions

Pin an installation to an immutable revision with optional compare-and-set.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
revision_idYes
idempotency_keyYes
installation_idYes
expected_revision_idNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Addedv0.1.1

TDQS

C2.9/5.0
Behavior2/5

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

There are no annotations to signal side effects, and the description does not disclose whether pinning is idempotent, reversible, or what happens if the expected revision does not match. The 'compare-and-set' implies an atomic conditional update, but this is not explicitly explained.

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 a single, tightly worded sentence that conveys the core action and key qualifier without extraneous detail.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool has an output schema, but the description provides no information about return values, error conditions, or concurrency behavior. Given the complexity of compare-and-set, more detail is needed for correct invocation.

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?

The description indirectly maps 'installation' to installation_id, 'revision' to revision_id, and 'compare-and-set' to expected_revision_id, but leaves idempotency_key unexplained. Parameter names are self-explanatory, but the description adds only partial context for the optional compare-and-set semantics.

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 verb 'pin' clearly identifies the action on an 'installation,' and the mention of 'immutable revision' and 'optional compare-and-set' specifies the key behavior. It does not explicitly distinguish from sibling actions like activate or install, but the unique verb makes the purpose clear.

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

Usage Guidelines2/5

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

No guidance is provided on when to use this tool versus alternatives such as install, activate, or archive. The description does not state prerequisites, conditions for using compare-and-set, or any exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/RPasquale/lightbulb-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server