Skip to main content
Glama
wernerglinka

Metalsmith Plugin MCP Server

by wernerglinka

diff-template

Compare a plugin directory to scaffold templates and identify matching, missing, or drifted files with unified diff snippets. Helps keep plugins consistent with the latest template definitions.

Instructions

Diff a plugin against the current scaffold templates. Reports which files match, are missing, or have drifted (with unified diff snippets). Use to keep aging plugins in sync with the latest scaffold.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathNoPlugin directory path.
templatesNoOptional filter — restrict the diff to specific templates by template path (e.g. "plugin/package.json.template") or target path (e.g. ".github/workflows/test.yml"). Omit to diff every tracked template.
Behavior3/5

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

The description discloses the tool's behavior: it diffs and reports match, missing, or drift with unified diff snippets, which covers its core operation. Since no annotations are provided, the description carries the full burden, but it omits side effects (e.g., read-only nature), authentication requirements, or limits, resulting in moderate transparency.

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 exceptionally concise: two sentences clearly state the tool's action, output, and recommended use case. Every sentence adds value without redundancy or unnecessary detail, achieving perfect front-loading of essential information.

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?

Given the tool has two optional parameters, no output schema, and no nested objects, the description covers the key aspects: what the tool does, what the output contains (match, missing, drifted with diffs), and when to use it. It lacks details about potential mutation (likely read-only) or error conditions, but overall it is sufficiently complete for effective agent use.

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?

With 100% schema description coverage, both parameters already have basic explanations. The tool description adds extra context: for 'templates', it explains that the filter can use template paths or target paths, and omitting diffs all tracked templates. This enriches the schema information, justifying a higher score above the baseline of 3.

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?

The description uses a specific verb ('Diff') and clearly identifies the resource ('plugin against the current scaffold templates'). It details the output (reports match, missing, drifted with unified diffs) and distinguishes its purpose from sibling tools like audit-plugin or get-template by focusing on syncing aging plugins with the latest scaffold.

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?

The description advises using the tool 'to keep aging plugins in sync with the latest scaffold', which provides a clear use case. However, it does not explicitly state when not to use it or mention alternatives like get-template or list-templates for merely viewing templates, leaving room for ambiguity in tool selection.

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/wernerglinka/metalsmith-plugin-mcp-server'

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