Skip to main content
Glama

Verify service connection

stack_verify_connection

Test a service connection's stored credential against the provider API and record the resulting connection status. Returns whether the connection is healthy.

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": {
      "connection_id": "<connection_id>"
    },
    "name": "stack_verify_connection"
  }
}

Input Schema

NameRequiredDescriptionDefault
connection_idYesService connection ID to verify

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, openWorldHint=true and destructiveHint=false; the description reinforces this by disclosing that it performs a live call to the provider API and writes the resulting connection status back, which tells the agent about both external egress and a persistent side effect. It does not cover failure semantics (exception vs. 'unhealthy' result), latency, or credential invalidation risk, which keeps it below 5.

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?

Two tight sentences, zero repetition of the title, with the core action (test against provider API, record status) front-loaded and the return information last.

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

Completeness4/5

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

For a one-parameter tool with annotations present and no output schema, the description covers the mechanism, the side effect, and the return shape ('whether the connection is healthy'). The only missing piece an agent would want is what happens when the credential is rejected or the provider is unreachable.

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?

There is a single required parameter with 100% schema description coverage ('Service connection ID to verify'), so the schema carries the semantics. The description adds no format hints or ID-source guidance beyond that, matching the baseline 3 for high-coverage single-parameter tools.

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: test the stored credential of a service connection against the provider API, and record the resulting status. The resource noun ('service connection credential') distinguishes it from the other verify_* siblings such as stack_verify_sso_domain or stack_verify_passport, though it never names a sibling explicitly.

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?

The description explains what is verified but gives no guidance on when to call this versus alternatives like stack_connect_service or stack_list_service_configurations, and no preconditions (e.g., that the connection must already exist with a stored credential). Usage is only inferable from the purpose statement.

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.