Skip to main content
Glama

Inspect provider connection state

provider_status
DestructiveIdempotent

Reports connection state; GitHub/Linear may save verification or revoke invalid authority.

Drive reports stored authorization only. Meta and LINE report saved channel state only; LINE and Meta channel checks use line_health_read/line_connection_verify and meta_health_read/meta_connection_verify. Discord reports saved bot/server/channel identity and dated Gateway, receipt and send evidence; absent observations remain unknown. This reports current connection; provider_connect_attempt_read reports attempt.

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": {
      "agent_id": "<agent_id>",
      "provider": "<provider>"
    },
    "name": "provider_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
agent_idYesAgent ID from agents_list or agent_create.
providerYesProvider whose current connection state is reported for this Agent.

Output Schema

NameRequiredDescriptionDefault
basisYes
agent_idYes
providerYes
connectionYes
workspace_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / agent_id / description
      Added value: +"Agent ID from agents_list or agent_create."
    • addedInput schema / properties / provider / description
      Added value: +"Provider whose current connection state is reported for this Agent."
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Adds substantial context beyond the annotations: GitHub/Linear 'may save verification or revoke invalid authority' (a write side effect consistent with destructiveHint=true and readOnlyHint=false), Drive reports stored authorization only, Meta/LINE report saved channel state only, and Discord evidence is dated with 'absent observations remain unknown'. These per-provider caveats tell the agent what the payload actually proves. The one missing piece is that the description leads with the neutral phrase 'Reports connection state' and never foregrounds the destructive side effect as a warning, so an agent skimming the first clause could mistake it for a pure read.

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?

Dense but front-loaded, with each clause scoped to a provider or a sibling tool; no filler sentences. The semicolon-chained structure and the closing fragment 'provider_connect_attempt_read reports attempt' are slightly telegraphic, but overall the density is earned by the per-provider distinctions.

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, so return shapes need not be explained, and the description covers side effects, provider differences, and sibling routing. It is not fully complete because Gmail is in the required provider enum yet receives no description of what its report contains.

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 100%, so the two parameters are already documented, and the description goes further by giving provider-specific semantics for most enum values (google_drive, github, linear, meta, line, discord) rather than repeating the schema. Gmail appears in the provider enum but is never mentioned, leaving one enum value uninterpreted.

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 and resource ("Reports connection state") and then distinguishes itself from named siblings: line_health_read/line_connection_verify and meta_health_read/meta_connection_verify for channel checks, and provider_connect_attempt_read for attempt history. An agent can tell what this tool is and is not without opening another 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?

Gives explicit routing for two concrete cases: LINE/Meta channel checks belong to the *_health_read and *_connection_verify tools, and attempt history belongs to provider_connect_attempt_read. It lacks an explicit 'use this when' statement for the general case and says nothing about when Google Drive, Gmail, or Discord alternatives would apply, so it stops short of full when/when-not coverage.

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