Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as Fixter. If you published it, claim ownership there.

Set API Test Destinations

set_api_test_destinations
DestructiveIdempotent

Replace where one API test's DOWN/UP alerts are delivered. Routing only: the test's configuration and state are untouched.

channelIds are registry channel UUIDs (the id field from the investigation service's list_alert_channels, not Slack channel ids). Omit or pass null to clear the test's own routing so it inherits the tenant's API test default (Settings > Notifications, or the investigation service's set_notification_destinations with source e2e-monitoring). Pass an empty list to switch this test's alerts off entirely. A per-test setting outranks the source-level one.

Destinations are not stored by this service; they live with the investigation service's notification routing. An unknown channel id is rejected and nothing changes. Read the current value with get_api_test_destinations.

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": {
      "apiTestId": "<apiTestId>"
    },
    "name": "set_api_test_destinations"
  }
}

Input Schema

NameRequiredDescriptionDefault
apiTestIdYesId of the API test (from list_api_tests or get_api_test)
channelIdsNoRegistry channel UUIDs to deliver to; empty list = off; omit = inherit

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / $schema
      Added value: +"https://json-schema.org/draft/2020-12/schema"
    • removedInput schema / additionalProperties
      Removed value: -false
  2. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true, idempotentHint=true and readOnlyHint=false, so the safety profile is covered; the description adds what actually changes ('replace', prior routing is overwritten) and that an unknown channel id is rejected with nothing changing, which is genuine atomicity detail. It also discloses that destinations are persisted by the investigation service rather than this one, which explains consistency expectations. It doesn't say whether the previous routing is recoverable, which is the one gap left for a destructive replace.

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?

Front-loaded with the verb and scope, then the parameter semantics, then the storage/error caveat and the read-back pointer, so the structure is purposeful and no sentence is filler. It is dense and slightly long for two parameters, but each sentence carries non-obvious routing or failure information.

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?

With no output schema and only two parameters, the definition covers everything an agent needs: identifier source for apiTestId, the three channelIds states, precedence versus source-level routing, partial-failure behavior, and a pointer to get_api_test_destinations for reading the current value. Nothing material is left to inference.

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

Parameters5/5

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

Schema coverage is 100%, yet the description still adds real meaning: channelIds are registry channel UUIDs from list_alert_channels, explicitly not Slack channel ids, which prevents a common mis-supply. It also disambiguates the null-vs-omit-vs-empty-list semantics beyond what the schema describes ('Omit or pass null to clear', 'Pass an empty list to switch ... off'), which the schema alone compresses into one line.

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 ('Replace where one API test's DOWN/UP alerts are delivered') and immediately scopes it: 'Routing only: the test's configuration and state are untouched.' That scope line distinguishes it from update_api_test, and the closing pointer to get_api_test_destinations makes the read/write pairing explicit.

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 concrete when-to-use branching: omit/null to inherit the tenant default, empty list to switch alerts off, and a note that a per-test setting outranks the source-level one. It also names the alternative surface (Settings > Notifications or set_notification_destinations with source e2e-monitoring), making the choice between per-test and source-level routing explicit. It never states when *not* to use this tool in favor of set_alert_rule_destinations, which is a different alert type, but the API-test scoping is clear.

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