Skip to main content
Glama

Test an integration

test_integration
Idempotent

Check whether a connection's stored credentials still work with a live probe against the ESP (POST /v1/integrations/{type}/connections/{id}/test). Changes no settings or lists, but may renew an expiring OAuth token. Free.

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": {
      "type": "<type>",
      "id": "<id>"
    },
    "name": "test_integration"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesConnection id.
typeYesESP slug, e.g. `klaviyo`, `mailchimp`, `brevo`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / additionalProperties
      Removed value: -false
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false despite no mutation, and the description proactively resolves that apparent conflict: it makes a POST, changes no settings or lists, but may renew an expiring OAuth token. It also discloses cost ('Free'), which is not in the annotations. It stops short of describing failure behavior (what a failed probe returns) or any rate limiting.

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?

One front-loaded sentence with the operational facts (endpoint, side effects, cost) appended; every clause carries information and nothing is repeated from the schema.

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 is no output schema, yet the description says nothing about what a probe returns (valid/invalid, error detail) or what the agent should do on failure — the key thing an agent needs for a test tool. Side-effect and cost disclosure is good, but the result shape is a real gap for a diagnostic call.

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% — both 'id' and the 41-value 'type' enum are documented with examples in the schema. The description only echoes them via the path template and adds no new semantics, so the baseline 3 applies.

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 object: checking whether a connection's stored credentials still work via a live probe, plus the concrete endpoint POST /v1/integrations/{type}/connections/{id}/test. The purpose is unambiguous on its own, but the description never names the near-neighbors (verify_email, resync_integration, get_integration) to make the boundary explicit.

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

Usage Guidelines3/5

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

The phrase 'still work' implies the use case (diagnosing a broken/stale connection), but there is no explicit when-to-use or when-not-to-use guidance. It also doesn't tell the agent whether to run this before resync_integration or instead of get_integration, so selection between siblings is left to inference.

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