Skip to main content
Glama

PostHog update vision scanner

posthog_update_vision_scanner
Destructive

Update a Replay Vision scanner (prompt, enabled, sampling, credit limit) for the operator or analytics agent. Setting enabled=true starts spending PostHog Vision credits. Use when changing a scanner or turning spend on. 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
nameNo
promptNo
enabledNotrue starts (or resumes) Vision credit spend
companyIdYesFreedomOS company id to act within (you must be a member). Required for company-scoped tools.
descriptionNo
credit_limitNo
scanner_typeNo
emits_signalsNo
sampling_rateNo
scanner_configNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already signal destructive and non-read-only behavior; the description goes further by warning that enabled=true starts spending PostHog Vision credits and by explaining the write-tier approval flow. It does not mention update semantics like partial vs full replacement or response behavior, but the key risks are disclosed.

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 core description is three tightly written sentences with the most important behavioral warning front-loaded. The bracketed approval note is long but provides actionable governance context rather than fluff.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description covers purpose, precondition, cost implications, and approval handling, which is solid for a mutation tool. However, with 11 parameters and no output schema, the unclear optional parameters and missing return-value information leave material gaps for an agent trying to make a correct call.

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

Parameters2/5

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

Schema description coverage is only 27%, and the description compensates only partially. It names prompt, enabled, sampling, and credit limit, but leaves scanner_config, scanner_type, emits_signals, description, name, and sampling_rate unexplained, all of which an agent would need to use the tool effectively.

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 states a specific action ('Update a Replay Vision scanner') and names the editable dimensions (prompt, enabled, sampling, credit limit), clearly distinguishing this from sibling create/delete/get/list tools. The added note that enabled=true starts spending credits reinforces what the tool actually 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 changing a scanner or turning spend on' and gives a precondition ('Only works if PostHog is connected'). It does not explicitly name alternatives or when not to use the tool, so it stops just short of full routing guidance.

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