Skip to main content
Glama

Update Analytics Insight

aidelly_update_analytics_insight
Destructive

Update the recorded state of an analytics insight in workspace_id. Supply insightId and action (view, dismiss, or act_upon). Marks the insight as viewed, dismissed, or acted upon; it does not carry out the recommendation itself. Retry-safe: a repeat call with the same idempotency_key returns the original result.

Input Schema

NameRequiredDescriptionDefault
bodyNoOptional body override for endpoints with sparse parameter schemas.
queryNoOptional query overrides for endpoints with sparse parameter schemas.
actionNoAction to perform.
brand_idNo
insightIdNoID of the insight to act upon.
workspace_idNoWorkspace to operate in: the `id` of a workspace returned by aidelly_list_workspaces. Optional for read operations; required when creating content.
idempotency_keyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / idempotency_key / example
      Added value: +"order-123:create-post:v1"
    • addedInput schema / properties / idempotency_key / maxLength
      Added value: +255
    • addedInput schema / properties / idempotency_key / minLength
      Added value: +1
    • addedInput schema / properties / idempotency_key / pattern
      Added value: +"^[\\x21-\\x7E]{1,255}$"
  2. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations cover the safety profile (readOnlyHint=false, destructiveHint=true), and the description adds genuinely non-obvious behavior: the call only marks viewed/dismissed/acted-upon state with no downstream side effect, plus retry semantics via idempotency_key. The retry-safe claim sits in slight tension with idempotentHint=false, but that is a nuance (key-based dedup vs. inherent idempotency) rather than a contradiction.

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?

Three tight sentences with the purpose front-loaded, followed by required inputs and then retry semantics. No filler; every sentence contributes a distinct fact an agent needs.

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 state-mutating tool with no output schema, the description covers purpose, required inputs, the no-side-effect caveat, and idempotency behavior. The only real gap is the shape of a successful (non-retry) response, which is left unstated since no output schema exists to carry it.

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 description coverage is 71%, so the schema carries much of the load, but the description still adds meaning: it names insightId and action together as the operative inputs and explains what each enum value does to recorded state. It also documents idempotency_key behavior (repeat call returns original result), which the schema only exposes as a pattern/example.

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 ('Update the recorded state of an analytics insight in workspace_id') and scopes it to workspace_id. It also draws a sharp line against the read/generate siblings by clarifying it only records state and does not carry out the recommendation. An agent can distinguish it from aidelly_get_analytics_insights and aidelly_generate_analytics_insights without opening a schema.

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

Usage Guidelines3/5

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

It tells the agent what must be supplied ('insightId and action') and hints at a boundary ('it does not carry out the recommendation itself'), which implies when-not-to-use. However, it never names the alternative tool an agent should reach for when it actually wants to act on a recommendation, so the guidance is implied rather than explicit.

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.