Skip to main content
Glama

Preview a pack

preview_pack
Read-only

Inspect what a GitHub-linked or directory pack would add—bots, skills, routines, apps, looks, tools, questions, access, and install commit—before installing.

Instructions

What a pack from a GitHub link (or a reviewed pack from the directory, by id) would add: bots, skills, routines, apps, looks, tools, the questions it asks, what it can reach and the commit to install.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

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

Input Schema

NameRequiredDescriptionDefault
urlNoA GitHub repository or folder
workspaceNo
gallery_idNoA pack from the plugin directory

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds genuinely new behavioral context by stating that the preview surfaces side effects and the commit that would be installed, which tells the agent this is a pre-install impact assessment rather than a metadata lookup. It does not mention error behavior for invalid or unreachable repositories.

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?

It is a single front-loaded sentence that leads with the core value proposition ('What a pack ... would add') before listing contents. The trailing enumeration is long and comma-heavy, which slightly hurts scanability, but every item listed is meaningful output information rather than filler.

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?

There is no output schema, so the description carries the burden of describing returns, and it does so thoroughly by enumerating the pack components and the commit to install. The main gaps are the undocumented workspace parameter and the absence of any note on failure modes or on what happens when both inputs are supplied.

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 67%, with url and gallery_id documented in the schema and the description mapping them to the two input modes ('a GitHub link' vs. 'a reviewed pack from the directory, by id'). The 'reviewed' qualifier adds meaning the schema lacks. However, the third parameter (workspace) is never mentioned, and the mutual exclusivity of url versus gallery_id is left ambiguous.

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 specific resource (a pack from a GitHub link or directory id) and a specific operation (previewing what it would add), then enumerates the contents surfaced: bots, skills, routines, apps, looks, tools, questions, reach, and target commit. That is far more informative than the title alone. It does not explicitly contrast with install_pack, so it stops short of a 5.

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: the phrase 'would add' signals a dry-run inspection step before installing, and the two input modes (GitHub link vs. directory id) hint at when each applies. There is no explicit statement of when to call this versus install_pack, nor any precondition such as needing a reviewed pack. Guidance is inferable but not stated.

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