Skip to main content
Glama

rush_contract

Import local Pact reports or run contract verifications to validate provider compatibility locally.

Instructions

Import a local Pact report or run local contract verifications under --allow-slow.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes
optionsYes
allow_slowNo
pact_filesNo
allow_buildNo
report_pathNo
provider_urlNo
allow_browserNo
allow_networkNo
allow_downloadNo
timeout_secondsNo
allow_cache_writeNo
allow_artifact_writeNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
rawNo
toolNo
engineNo
statusNo
metricsNo
summaryNo
findingsNo
metadataNo
artifactsNo
duration_msNo
review_kindNo
engine_versionNo
review_providerNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv0.2.2
    • addedInput schema / properties / options
      Added value: +{
      +  "title": "Options"
      +}
    • addedInput schema / properties / pact_files
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Pact Files"
      +}
    • addedInput schema / properties / provider_url
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Provider Url"
      +}
    • addedInput schema / properties / timeout_seconds
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Timeout Seconds"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "path"
      -]New value: +[
      +  "path",
      +  "options"
      +]
    • changedOutput schema / properties / metrics / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": {
      -      "anyOf": [
      -        {
      -          "type": "integer"
      -        },
      -        {
      -          "type": "number"
      -        },
      -        {
      -          "type": "string"
      -        }
      -      ]
      -    },
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": {
      +      "anyOf": [
      +        {
      +          "type": "integer"
      +        },
      +        {
      +          "type": "number"
      +        },
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  2. First observedv0.3.0

TDQS

C2.4/5.0
Behavior2/5

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

No annotations are provided, so the description must disclose behavioral traits. It mentions 'import' and 'run verifications', but does not state potential side effects like building, network access, downloading dependencies, or cache writes, even though many parameters (allow_build, allow_network, allow_download, allow_cache_write) suggest these are possible. The description is silent on what actually happens during execution, leaving the agent without critical safety or side-effect knowledge.

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?

The description is extremely concise—a single sentence that front-loads the primary action. It wastes no words and is easy to parse. However, the conciseness comes at the cost of essential details, which is a trade-off that reduces effectiveness overall.

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

Completeness1/5

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

With 13 parameters, no annotations, and no output schema explanation, the description is drastically incomplete. An agent cannot determine how to set up the contract verification, what the required 'path' refers to, how 'options' is structured, or what the return value contains. Every aspect beyond the mention of --allow-slow is left unspecified, making the tool effectively inscrutable for an AI agent.

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

Parameters1/5

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

Schema description coverage is 0%, meaning none of the 13 parameters have descriptions in the schema. The description itself only mentions the --allow-slow flag, leaving the other 12 parameters undefined. An agent cannot infer the meaning of options like path, pact_files, provider_url, or allow_browser from the tool description, making it impossible to correctly invoke the tool beyond the simplest case.

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 clearly states the tool's two distinct actions: importing a local Pact report and running local contract verifications with the --allow-slow flag. This is specific enough to distinguish it from siblings like rush_test or rush_lint, which focus on other concerns. However, it does not explicitly name any sibling tool as an alternative, so it doesn't fully separate itself in the broader context.

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?

The description implies usage: when you have a Pact report or want to verify contracts. But it provides no conditions for when to use this tool versus alternatives, no exclusions, and no prerequisites. With a large sibling list, the lack of routing guidance is a notable gap.

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