Skip to main content
Glama

PostHog delete vision scanner

posthog_delete_vision_scanner
Destructive

Delete a Replay Vision scanner and its observations tab (PostHog $recording_observed events stay in the event stream) for the operator or analytics agent. Use when retiring a scanner. Only works if PostHog is connected.

[write-tier — first use may require a manager's approval; a from-now-on approval makes future calls seamless, a just-once approval re-asks next time. Call it on the first clear ask; the card is the yes — do not re-ask in chat.]

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesScanner UUID
companyIdYesFreedomOS company id to act within (you must be a member). Required for company-scoped tools.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and readOnlyHint=false, so the agent knows this mutates data. The description adds valuable context: the observations tab is removed but the underlying events persist, and the tool requires PostHog connectivity. The approval note discloses a potentially blocking permission step. This goes beyond annotations without contradicting them.

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?

The main sentence is dense and informative, front-loading the action and side effect. The usage note is concise, and the approval guidance is a separate paragraph that, while verbose, is necessary for correct invocation. Overall, it's efficient with no filler, though the approval section could be tightened.

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 destructive delete tool with no output schema, the description covers the action, side effects, usage context, prerequisite, and approval flow. It doesn't mention error handling or response format, but those are less critical for a delete operation. The combination of annotations and description gives the agent enough to call it safely and correctly.

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?

Both parameters (id and companyId) are described in the schema with 100% coverage, so the description doesn't need to repeat them. The description provides no additional parameter semantics, matching the baseline of 3 when the schema fully covers the parameters.

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 clearly states the action ('Delete'), the resource ('a Replay Vision scanner'), and a specific side effect (the observations tab is deleted while $recording_observed events remain). It distinguishes from sibling tools like posthog_update_vision_scanner and posthog_get_vision_scanner by focusing on deletion and retirement, leaving no ambiguity about what this tool does.

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 explicitly says 'Use when retiring a scanner,' giving a clear trigger condition. It also notes 'Only works if PostHog is connected' as a prerequisite and explains the approval flow in the write-tier note. It doesn't explicitly mention alternatives (e.g., update for modifications), but the retirement context is sufficient to route the agent appropriately.

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