Skip to main content
Glama

Microsoft Clarity MCP by InsightfulPipe

Microsoft Clarity Execute Action

execute_action
Destructive

Execute Microsoft Clarity action (Step 3 (FINAL) of workflow).

REQUIRED: Complete these steps first using query_contexts:

  1. request='accounts' - Get workspace_id, brand_id AND available_actions

  2. request='actions_details' with actions=['xxxxxx', 'xxxxxx', 'xxxxxx'] - Get detailed body structure for specific action(s) using actions from available_actions

IMPORTANT: Always call step 2 to see the exact body structure before executing.

Rely on info from steps 1-2 to construct the action body. Follow the schema exactly.

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": {
      "body": "<body>"
    },
    "name": "execute_action"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false and openWorldHint=true, so the safety profile is covered. The description adds genuinely new behavior: the request body is dynamic and must be derived from a prior discovery call rather than constructed from the schema. It does not, however, say what an executed action changes, whether it is reversible, or what happens on a malformed body — gaps that matter for a destructive call.

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?

Front-loads the workflow position and then gives numbered, scannable prerequisites; nearly every sentence carries actionable instruction. Minor redundancy: "IMPORTANT: Always call step 2" restates what numbered step 2 already said, costing a line without adding information.

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?

Output schema exists, so return values need not be described. But for a destructive, open-world tool whose only parameter is an opaque object, the description explains how to discover the body yet says nothing about how the discovered structure maps into the required `body` field or about failure handling. Adequate routing, incomplete contract.

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?

Schema coverage is 0% — a single required `body` object with additionalProperties=true and no documented shape, so the description carries the burden. It partially compensates by routing the agent to actions_details to obtain the exact body structure, but never states the body envelope (e.g., whether workspace_id/brand_id belong at the top level) nor any required/optional keys, leaving the contract resolved only at runtime.

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?

States a specific verb and resource ("Execute Microsoft Clarity action") and positions itself explicitly as step 3 (FINAL) of a workflow, which separates it from query_contexts and query_data. The word "action" stays generic — it never says what family of actions (projects, segments, heatmaps?) or that the action type is chosen dynamically from the earlier lookup — so the agent knows the operation class but not its domain.

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

Usage Guidelines5/5

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

Gives an explicit ordered prerequisite chain with literal request values ('accounts', then 'actions_details' with actions=[...]) and names the sibling tool that satisfies each step. It also states a hard gate ("Always call step 2 ... before executing"), so there is no inference required about when this tool is safe to call.

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.