Skip to main content
Glama
Gearset MCP Server
by jaredbt

Get Time to Restore

get_time_to_restore

Retrieves the time required to restore data for a specified environment and date range from the Reporting API, with optional aggregate metrics.

Instructions

Get time to restore 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_time_to_restore"
  }
}

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.6/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 disclosure burden, yet it says nothing about permissions, cost, rate limits, or what the result represents. Only the passing reference to the "Reporting API" hints at a data source; nothing about aggregation behavior or whether the value is a duration versus a count is disclosed.

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?

It is a single short, front-loaded sentence with no filler or redundancy. The brevity is not verbosity waste but under-specification, which is penalized elsewhere.

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?

For a 5-parameter metric tool with no annotations and no output schema, the description should at minimum explain what the returned value means (units, aggregated vs. per-interval) and how aggregate/Interval interact. None of that is present, so an agent cannot reliably interpret the result.

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 each parameter (environmentId, StartDate, EndDate, Interval, aggregate) is already documented with format and enum details in the schema. The description adds no meaning beyond that, so the baseline of 3 applies.

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

Purpose3/5

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

The description states a verb and a metric name ("time to restore") but essentially restates the tool name and title, adding only "from the Reporting API." It does not define what the metric measures or how it differs from metric siblings such as get_lead_time_for_changes or get_change_failure_rate.

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 mention of alternatives, and no stated preconditions (e.g., requiring a specific environment or reporting data availability). The agent is left to infer usage entirely from the name.

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