Skip to main content
Glama

Set analytics preference

analytics_preference_set
Idempotent

Enable or disable optional product analytics for this account.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
analyticsEnabledYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare the full safety profile (readOnlyHint=false, idempotentHint=true, destructiveHint=false, openWorldHint=false), and the description's 'enable or disable' is consistent with that. It adds account scoping ('for this account') and the fact that analytics is optional, but says nothing about whether disabling stops collection immediately or affects stored data.

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?

One short sentence, front-loaded with the action and its target, with no filler or redundancy. Nothing could be removed without losing meaning.

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?

For a one-parameter idempotent toggle with no output schema, the description is close to sufficient, and return values need not be explained. However, as a privacy-relevant setting, the absence of any note about the effect of disabling (immediate? retroactive?) leaves a meaningful gap.

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?

The single boolean parameter has 0% schema description coverage, so the description carries the burden. 'Enable or disable' does convey that the flag toggles the preference on/off, which maps directly to analyticsEnabled, but it adds no detail on effect, timing, or reversibility beyond that mapping.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description pairs a specific verb pair ('enable or disable') with a precise resource ('optional product analytics for this account'), so the agent immediately knows this is a mutation of the analytics opt-in setting. It does not explicitly name the read-side sibling analytics_preference_get, but the set/get naming makes the boundary clear.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance, no mention of prerequisites, and no reference to the obvious alternative analytics_preference_get. The agent must infer from the name alone that this tool writes rather than reads the preference.

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