Skip to main content
Glama

List share codes of a saved snapshot

list_snapshot_shares
Read-onlyIdempotent

Lists active and revoked share codes for a saved snapshot by name, enabling access review without exposing full codes. Requires snapshot.read.

Instructions

List share codes of a saved snapshot. List the share codes of a saved snapshot, active and revoked (boat snapshot shares <name> in the CLI). The full codes are not returned. Needs snapshot.read.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "name": "<name>"
    },
    "name": "list_snapshot_shares"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.0

TDQS

B3.4/5.0
Behavior4/5

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

Beyond the read-only/idempotent annotations, the description adds two genuinely useful behaviors: revoked codes are included in the result, and full codes are truncated. It also names the required `snapshot.read` scope, which annotations do not convey.

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

Conciseness3/5

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

Short and front-loaded, but the second sentence restates the first almost verbatim ('List share codes of a saved snapshot'), wasting the opening of the first sentence that earns its place.

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 simple read-only list tool, the description covers scope, truncation of results, and auth requirements. It does not mention pagination or result ordering, but the annotations and simplicity of the operation make it largely sufficient.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% and the single `name` parameter is never explained in prose; only the CLI fragment `<name>` hints at it. It is unclear whether the argument is a snapshot name, ID, or path, so the description does not compensate for the schema gap.

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?

States a specific verb and resource (list share codes of a saved snapshot) and adds scope detail (active and revoked) plus the CLI equivalent. It does not explicitly distinguish itself from create_snapshot_share or revoke_snapshot_share, but the read-only listing purpose is unambiguous.

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?

Usage is only implied: an agent can infer this is the tool for inspecting shares tied to a snapshot, and the CLI mapping helps. There is no explicit when-to-use or when-not-to-use guidance versus the share-management siblings.

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