Skip to main content
Glama

Disconnect PostHog or Sentry

disconnect_connection
Destructive

Disconnect PostHog or Sentry and delete its saved credentials. PostHog's imported totals are deleted and Used returns to featury's own counts. Sentry links are deleted; error groups stay. Works while connections are off. Requires MANAGER or above.

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": {
      "workspace": "<workspace>",
      "project": "<project>",
      "provider": "<provider>"
    },
    "name": "disconnect_connection"
  }
}

Input Schema

NameRequiredDescriptionDefault
projectYesProject slug or id
providerYesThe connection to remove: posthog or sentry
workspaceYesWorkspace slug or id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the destructiveHint annotation, the description details exactly what is deleted: saved credentials, PostHog imported totals, and Sentry links, while clarifying that Sentry error groups remain. It also discloses permission requirements and behavior when connections are disabled.

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?

The description is front-loaded with the primary action and consequences, then adds operational details in compact sentences. Every sentence provides relevant behavior or authorization information without unnecessary wording.

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?

For a destructive, three-parameter operation with no output schema, the definition covers effects, provider-specific differences, permission requirements, and availability during disabled connections. Nothing essential for correct invocation appears to be missing.

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?

The input schema already documents all three parameters at full coverage, establishing a baseline of 3. The description adds meaningful provider-specific semantics: choosing posthog deletes imported totals and restores featury's own counts, while choosing sentry deletes links but preserves error groups.

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?

The description uses a specific verb-resource pair: it disconnects PostHog or Sentry and deletes saved credentials. It names the affected providers and the concrete effects, making the operation clearly distinguishable from read-only connection siblings such as get_connections.

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 useful context: the tool works even while connections are off and requires MANAGER role or above. It does not explicitly compare against alternatives, but the prerequisites and operational state are clear.

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