Skip to main content
Glama

check_integration_status

Read-onlyIdempotent

Poll an OAuth handoff initiated by request_oauth_integration_url. Returns the current status (pending, connected, failed, expired) and, when connected, the data_source_id you can pass to run_analysis.

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": {
      "handoff_id": "<handoff_id>"
    },
    "name": "check_integration_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
handoff_idYesThe id returned by request_oauth_integration_url.

Output Schema

NameRequiredDescriptionDefault
errorNoFailure reason when status is "failed".
statusYesOne of pending, connected, failed, expired.
providerYes
created_atNo
handoff_idYes
completed_atNo
connection_idNo
data_source_idNoThe created data source, present once status is "connected".
integration_typeYes
awaiting_confirmationNoTrue once the user approved the consent screen: they must now confirm the connection in the clariBI app.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / awaiting_confirmation
      Added value: +{
      +  "description": "True once the user approved the consent screen: they must now confirm the connection in the clariBI app.",
      +  "type": "boolean"
      +}
  2. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and closed-world, so safety is covered; the description adds the meaningful behavioral detail that the call is a poll of an external handoff and enumerates the four status outcomes. It stops short of describing rate limits, recommended backoff, or what happens to the handoff after expiry.

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 sentences, zero padding, with the initiating tool front-loaded and the success-path payload and next step stated immediately after. Every clause carries information an agent would otherwise have to infer.

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?

An output schema exists and the description still usefully summarizes the status enum and the connected-state field, which is more than required. It is nearly complete for a polling tool, with only retry/polling-interval behavior left unstated for what is inherently a repeated-call operation.

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 coverage is 100% and the single handoff_id parameter is fully documented in the schema, including that it is a UUID. The description restates the same provenance (returned by request_oauth_integration_url) without adding format, lifetime, or reuse semantics, so the schema is doing the work.

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 (poll) and resource (an OAuth handoff) and explicitly scopes the tool to handoffs created by request_oauth_integration_url. It also names the downstream consumer (run_analysis), so an agent can distinguish it from siblings without opening any schema.

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?

Clear when-to-use context: after request_oauth_integration_url has been called, and it explains that the returned data_source_id feeds run_analysis, giving the agent an explicit follow-up path. The gap is that it gives no polling cadence or stop condition beyond the status values themselves (e.g., how often to retry, what to do on 'expired').

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