Skip to main content
Glama

Inspect Lockfile Pin Delta

lockfile_pin_delta

Inspect two caller-supplied npm package-lock.json objects and return added, removed, and changed name+version+integrity+resolved pins. Supply JSON before and after lockfile objects, not filesystem paths, URLs, or commands. An identical pin set is informational, not a failure. HTML, package.json, and unsupported lockfileVersion values are refused before payment. This is not an npm install, audit, or purchase. Ordinary wallets sign through examples/customer-x402 (inspect, explicit approve, attempt-receipt, read-only reconcile), not a precomputed signature. Initial live release accepts x402 only. Payment challenge and credentials are bound to POST https://agents.samedaydesk.com/lockfile-pin-delta, not mcp://. Retry the identical authorized arguments and credential.

Input Schema

NameRequiredDescriptionDefault
afterYesnpm package-lock.json object (lockfileVersion 2 or 3). Not a filesystem path, URL, or command.
beforeYesnpm package-lock.json object (lockfileVersion 2 or 3). Not a filesystem path, URL, or command.

Output Schema

NameRequiredDescriptionDefault
okYes
errorNo
quoteYes
digestYes
engineYes
limitsYes
chargedYes
productYes
analysisYes
boundaryYes
markdownNo
transportYes
costInputsYes
owedDeliveryNo
schemaVersionYes
markdownOmittedNo
engineProvenanceYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and discharges it: identical pin sets are informational rather than failures, HTML/package.json/unsupported lockfileVersion are refused before payment, only x402 is accepted in the live release, credentials are bound to the POST endpoint rather than mcp://, and identical authorized arguments should be retried. This is unusually complete behavioral disclosure.

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?

Purpose and return values are front-loaded, and every sentence carries operative information (input format, no-op semantics, refusal cases, payment, auth binding, retry). It is a dense multi-topic paragraph, but nothing is filler and the ordering is sensible.

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?

Despite a nested-object input and a paid/authenticated flow, the description covers inputs, refusals, payment scheme, credential binding, and retry behavior, and an output schema exists so return details need not be restated. Nothing an agent needs to invoke this correctly is missing.

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 100% and both parameter descriptions already state 'npm package-lock.json object... Not a filesystem path, URL, or command.' The description repeats that constraint verbatim, adding no new syntax, size, or version guidance beyond the schema, so the baseline 3 applies.

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?

States a specific verb and resource ('Inspect two caller-supplied npm package-lock.json objects') plus the exact output shape ('added, removed, and changed name+version+integrity+resolved pins'). The closing negatives ('not an npm install, audit, or purchase') fence off plausible confusions, so an agent can identify the operation without opening the schema.

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?

Gives explicit input expectations ('Supply JSON before and after lockfile objects, not filesystem paths, URLs, or commands') and explicit exclusions ('not an npm install, audit, or purchase'), plus the required wallet signing flow. It does not name any sibling tool by name, but the sibling list is a different domain, so routing risk is low.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.