Skip to main content
Glama
tathagat22

Plumb (plumb-mcp)

by tathagat22

Plumb · diff

plumb_diff
Read-onlyIdempotent

Compare two PDS snapshots of the same screen to detect semantic design changes. Returns structured deltas with role-labeled notes and a summary, avoiding raw JSON diffs.

Instructions

Semantic diff between two PDS snapshots of the same screen — call plumb_node (or plumb_outline/plumb_query) once before a design change and once after, then pass both raw JSON responses here. Returns structured deltas (added/removed/renamed/changed nodes, each with a note — e.g. 'the hero moved from (0, 0) to (0, 120)') plus a one-line summary, not a JSON diff. Narration uses the same role labels plumb_node already returns on pattern (nav/hero/footer/sidebar/card/button) when available, so 'the hero moved' beats 'el btn-3 moved 40px' whenever a role was detected. This tool does no live Figma fetching itself — it only compares two documents you already have.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
afterYesSnapshot taken AFTER the change. A full PdsDocument object exactly as returned by plumb_node / plumb_outline / plumb_query (the `nodes` + `root` fields are required).
beforeYesSnapshot taken BEFORE the change. A full PdsDocument object exactly as returned by plumb_node / plumb_outline / plumb_query (the `nodes` + `root` fields are required).
Behavior5/5

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

The description discloses output format (structured deltas with summary, not JSON diff), narration using role labels, and the fact that it only compares two documents. Annotations (readOnly, idempotent) are consistent and description adds value beyond them.

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 well-structured paragraph that covers purpose, prerequisites, output format, and constraints without wasted words. Every sentence adds value.

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

Completeness5/5

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

Given the tool's simplicity (2 params, no output schema), the description fully covers what the tool does, how to use it, and what to expect in return. It is complete for an AI agent to use correctly.

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

Parameters5/5

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

Schema coverage is 100%, but the description adds meaning by explaining that parameters must be full PdsDocument objects from specific tools and that nodes+root fields are required. This provides context beyond the schema.

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 clearly states it performs a semantic diff between two PDS snapshots of the same screen, specifying the verb (diff) and resource (snapshots). It distinguishes from siblings by noting it does no live Figma fetching.

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

Usage Guidelines4/5

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

The description provides explicit usage instructions: call plumb_node (or outline/query) before and after a change, then pass the responses here. It clarifies what it does not do (no live fetching), but does not name explicit alternatives.

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/tathagat22/plumb-mcp'

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