Skip to main content
Glama

test_order_connection

Idempotent

Verify that a standalone order connection's saved credentials still work — a live connectivity/auth check right now. Returns {connectionId, status ('ok'|'error'|'not_connected'), message} — the message is masked and never contains secrets. 'not_connected' means authentication was never completed: route the USER to finish it in the Koongo UI (never via MCP), do not try to set credentials. Use this to confirm a connection is healthy before enabling it with activate_order_connection. This is the right way to check a SINGLE connection — do not run sync_project_orders for that. connection_id is from get_order_overview. project_id is OPTIONAL (project_id_required otherwise — then call list_projects).

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": "test_order_connection"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idNo
connection_idYesconnectionId of the order connection (from get_order_overview).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Beyond the annotations it discloses the exact return fields, the enum-like status values, and that the message is masked and secret-free — security-relevant context an agent would otherwise not know. It stops short of describing failure modes such as timeouts, upstream unavailability, or whether the test itself consumes rate limits, but given readOnlyHint/idempotent hints already cover the safety profile, the added value is high.

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 purpose, then return shape, then exception handling, then sibling routing — a sensible order with no filler sentences. It is dense with parenthetical asides and em-dash clauses, which costs a little readability.

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, so the description carries the return contract itself and does so precisely (connectionId, status values, masked message). Combined with the auth-completion escape hatch and the pre-activation workflow, an agent has everything needed to call this correctly and interpret the result.

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

Parameters4/5

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

Schema coverage is only 50%: connection_id is documented in the schema, but project_id has no schema description. The description compensates by naming its source ('from get_order_overview'), its optionality, the error condition that makes it required, and the remediation call (list_projects).

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?

Opens with a specific verb and resource: 'Verify that a standalone order connection's saved credentials still work — a live connectivity/auth check.' It also distinguishes itself from near-name siblings by scoping to a single order connection and explicitly disclaiming sync_project_orders.

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

Usage Guidelines5/5

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

Gives explicit when-to-use ('before enabling it with activate_order_connection'), when-not-to-use ('do not run sync_project_orders for that'), and a conditional branch ('project_id is OPTIONAL (project_id_required otherwise — then call list_projects)'). It also prescribes agent behavior on the 'not_connected' result: route the user to the Koongo UI, never set credentials via MCP.

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