Skip to main content
Glama
Gearset MCP Server
by jaredbt

Get Change Failure Rate

get_change_failure_rate

Retrieve change failure rate metrics for a Gearset environment over a chosen date range, with optional daily, weekly, or monthly aggregation to track deployment quality.

Instructions

Get change failure rate data from the Reporting API

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": {
      "environmentId": "<environmentId>",
      "StartDate": "<StartDate>",
      "EndDate": "<EndDate>"
    },
    "name": "get_change_failure_rate"
  }
}

Input Schema

NameRequiredDescriptionDefault
EndDateYesEnd date in UTC format (e.g., 2024-01-31T23:59:59Z)
IntervalNoTime interval for aggregation (required if aggregate=true)
StartDateYesStart date in UTC format (e.g., 2024-01-01T00:00:00Z)
aggregateNoReturn aggregate metrics
environmentIdYesEnvironment ID (required, passed as path parameter)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden and delivers almost nothing. It says nothing about read-only nature beyond the implied 'Get', authentication or permission requirements, pagination, rate limits, or how aggregate=true changes the response shape.

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?

A single front-loaded sentence with no filler or repetition. It is efficient, though its brevity stems from under-specification rather than disciplined editing.

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

Completeness3/5

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

There are no annotations and no output schema, so the description is the only place behavioral context can live, and it omits it. The fully documented parameter schema and the required start/end date ranges are implicitly conveyed by the schema, which prevents the score from falling lower.

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 description coverage is 100%, so all five parameters are documented in the schema, including the UTC date format and the Interval enum, and that establishes the baseline of 3. The description adds no parameter meaning beyond what the schema already provides.

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?

States a specific verb and resource: 'Get change failure rate data from the Reporting API'. An agent can tell what it retrieves, but nothing distinguishes it from the DORA-metric siblings such as get_deployment_frequency, get_lead_time_for_changes, or get_time_to_restore.

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 when-to-use guidance, no exclusions, and no mention of the sibling DORA metric tools that could be confused with it. The only scoping information is the vague 'from the Reporting API'.

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