Skip to main content
Glama

diff_contract_snapshots

Compute a risk diff between two AuditPulse inspection snapshots and format a webhook alert payload (generic, slack, or discord).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "previous": "<previous>"
    },
    "name": "diff_contract_snapshots"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatNogeneric
currentNoNew AuditPulse inspection report (if omitted, fetches live state via JSON-RPC)
previousYesBaseline AuditPulse inspection report
reserveDropPctThresholdNo
supplyChangePctThresholdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.8/5.0
Behavior2/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It does not state whether the operation is read-only, whether a webhook is actually sent or only formatted, or that omitting the current snapshot triggers a live JSON-RPC fetch.

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, front-loaded sentence with no wasted wording. It efficiently conveys the core operation and output formatting options.

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

Completeness2/5

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

This is a relatively complex tool with five parameters, nested objects, no annotations, and no output schema. The description omits important details such as threshold behavior, live-fetch behavior, and the shape of the formatted alert payload.

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

Parameters2/5

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

Schema description coverage is low at 40%, so the description needs to compensate for undocumented parameters. It mentions the format options but adds no meaning to the threshold parameters, and it does not clarify that previous is required while current is optional.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb and resource: compute a risk diff between two AuditPulse inspection snapshots, then format a webhook alert payload. It does not explicitly distinguish this from any sibling tools, so it falls short of the top score.

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

Usage Guidelines2/5

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

There is no guidance on when to use this tool, when not to use it, or which alternatives to consider. The implied use case is inferable from the description, but no routing guidance is provided.

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.

Resources