Skip to main content
Glama

Test an integration

test_integration

Test an integration

Calls the connected service with the stored credentials and reports what came back. Use it after creating or reconfiguring an integration, since nothing is verified at write time. The shape of the result depends on the integration type: each connector builds its own diagnostic payload, so read it as free-form JSON rather than a fixed schema, and expect at least an indication of success and a message when it failed. Anything resembling a credential is stripped from the result before it is returned. A connection that fails is still reported inside a 200 response, not as an HTTP error. For Genesys Cloud the result has a fixed shape. Without generated access data the test fails and carries no data.

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

Input Schema

NameRequiredDescriptionDefault
idYesIdentifier of the integration to test.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

With readOnlyHint=false and destructiveHint=false already supplied, the description adds substantial context beyond annotations: return shape is connector-specific free-form JSON, credentials are stripped before return, and a failed connection still surfaces as a 200 response rather than an HTTP error. The missing-access-data failure mode and the Genesys Cloud fixed shape give the agent concrete expectations for interpreting results.

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 broken into short, front-loaded statements: purpose first, then when to use, then result-shape caveats. Every sentence carries signal, though the connector-specific Genesys Cloud detail and the repeated title line add slight bulk for a one-parameter tool.

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?

There is no output schema, and the description compensates by explaining that results are free-form per-connector JSON with at least a success indicator and failure message. Combined with the 200-on-failure and credential-stripping notes, an agent has enough to call the tool and interpret its response without further documentation.

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% for the single 'id' parameter, so the schema already carries the parameter's meaning and a baseline of 3 applies. The description adds no syntax, format, or lookup guidance for the identifier, though it does note the prerequisite of 'generated access data' for a successful test.

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 states a specific verb and resource ('Test an integration') and immediately explains the mechanism: 'Calls the connected service with the stored credentials and reports what came back.' It also scopes behavior by integration type, including a note about the Genesys Cloud payload. It does not explicitly distinguish itself from the sibling test_webhook, so an agent must infer the boundary.

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?

It gives a concrete timing rule: 'Use it after creating or reconfiguring an integration, since nothing is verified at write time,' which tells the agent exactly when this tool is appropriate and why. There is no explicit exclusion or named alternative (e.g., versus test_webhook), so it stops short of full routing guidance.

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.