Skip to main content
Glama

Delimit Diff

delimit_diff
Read-onlyIdempotent

Compare two OpenAPI specs to list all added, removed, or modified endpoints, schemas, and parameters for a structural change set without policy verdicts.

Instructions

Diff two OpenAPI specs and list all changes (pure diff, no policy).

When to use: when you only need the structural change set (added / removed / modified endpoints, schemas, parameters) without any policy verdict. When NOT to use: as a CI gate — for pass/fail use delimit_lint, for a shareable HTML report use delimit_diff_report.

Sibling contrast: delimit_lint adds policy + governance; this is the underlying change list. delimit_diff_report wraps both in a presentable report.

Side effects: read-only. Calls backends.gateway_core.run_diff.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
new_specYesPath to the proposed OpenAPI spec file. Required.
old_specYesPath to the baseline OpenAPI spec file. Required.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed2 schema fields changedv4.7.9
    • changedInput schema / properties / new_spec / description
      Previous value: -"Path to the new OpenAPI spec file."New value: +"Path to the proposed OpenAPI spec file. Required."
    • changedInput schema / properties / old_spec / description
      Previous value: -"Path to the old OpenAPI spec file."New value: +"Path to the baseline OpenAPI spec file. Required."
  2. Changed2 schema fields changedv4.5.5
    • addedInput schema / properties / new_spec / description
      Added value: +"Path to the new OpenAPI spec file."
    • addedInput schema / properties / old_spec / description
      Added value: +"Path to the old OpenAPI spec file."
  3. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false. The description adds value beyond those by stating the operation is read-only, is a pure structural diff without policy, and specifically calls backends.gateway_core.run_diff. No contradiction with annotations.

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 front-loaded with the core purpose and organized into brief, scannable guidance sections. Every sentence contributes either to selecting the tool or understanding its behavior; there is no filler.

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 read-only annotations, an output schema, 100% parameter documentation, and clear routing to neighboring tools, nothing essential is missing. An agent can correctly decide when to call it and what inputs to provide.

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?

Input schema covers 100% of parameters with descriptions for old_spec and new_spec, so the baseline is 3. The description adds general context about the change set but does not need to repeat the parameter-level details the schema already provides.

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 first sentence names the exact action ('Diff two OpenAPI specs'), the resource ('OpenAPI specs'), and the output ('list all changes'), and immediately distinguishes it as 'pure diff, no policy.' It also contrasts with delimit_lint and delimit_diff_report, so an agent can tell it apart from its closest siblings.

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

Usage Guidelines5/5

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

Provides an explicit 'When to use' section, a 'When NOT to use' section that names the CI alternative (delimit_lint) and reporting alternative (delimit_diff_report), plus a sibling contrast. This is unambiguous decision guidance, not merely implied.

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/delimit-ai/delimit-mcp-server'

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