Skip to main content
Glama
smallest-inc

Smallest MCP Server

Official
by smallest-inc

diff

Compare two agent configs and show changes section by section, including field paths with old/new values. Preview draft vs live to verify edits before publishing.

Instructions

Compare two agent configs and show what changed, section by section (field paths with old/new values). Each side is a reference: a revision_id (from list_revisions) or ":draft" for a branch's open draft (branch_id from list_branches). E.g. diff a branch's draft against the live head to preview a publish.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
aYesLeft side: a revision_id, or "<branch_id>:draft" for a branch's open draft
bYesRight side: a revision_id, or "<branch_id>:draft" for a branch's open draft
agent_idYesThe agent ID
Behavior3/5

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

No annotations are provided, so the description must fully disclose behavioral traits. It explains that the tool compares configs and returns changes with old/new values. However, it does not explicitly state that the tool is read-only or mention any authentication requirements or rate limits. The description is adequate but not exhaustive.

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 two sentences long, front-loaded with the purpose, and contains zero wasted words. Every sentence adds necessary context.

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 3 parameters, no output schema, and no annotations, the description covers the core functionality and parameter usage with an example. However, it does not explicitly describe the structure of the return value, though the phrase 'field paths with old/new values' gives a reasonable expectation.

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?

The input schema has 100% coverage for all 3 parameters, but the description adds value by explaining the format of 'a' and 'b' (revision_id or branch:draft) and providing a concrete usage example. This goes beyond the schema's descriptions, which only say 'Left side: a revision_id, or...'.

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 the tool compares two agent configs and shows changes section by section with field paths and old/new values. It uniquely identifies this tool among siblings, as no other sibling tool performs diff operations on configs.

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 clear context for when to use the tool, including an example of diffing a branch's draft against live head to preview a publish. It does not explicitly state when not to use it, but the context is sufficient and no sibling tool offers similar functionality.

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/smallest-inc/mcp-server'

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