Skip to main content
Glama

Notion MCP by InsightfulPipe

Notion Data Execute Action

execute_action
Destructive

Execute Notion action (Step 3 (FINAL) of workflow).

REQUIRED: Complete these steps first using query_contexts:

  1. request='accounts' - Get workspace_id, brand_id, gcp_project_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.

Notion is read-only here (OAuth scope notion.readonly): only SELECT queries succeed; DDL/DML/scripts are rejected by Google.

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.5/5.0
Behavior1/5

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

The description asserts 'Notion is read-only here (OAuth scope notion.readonly): only SELECT queries succeed; DDL/DML/scripts are rejected', while annotations declare readOnlyHint=false and destructiveHint=true. An agent cannot tell whether a call can mutate state, which is exactly the fact that matters before invoking a free-form execute tool. The prerequisite workflow detail is valuable, but the direct conflict with the safety annotations caps this score.

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?

Numbered prerequisite steps are front-loaded, the critical constraint ('always call step 2') is bolded, and the scope limitation closes the description. Every sentence adds an actionable instruction; the only mild redundancy is 'REQUIRED' plus 'IMPORTANT'.

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?

An output schema exists so return values need not be explained, and the prerequisite chain and body-discovery route are covered. However, for a tool annotated as destructive with an opaque body parameter, the description leaves the mutation question contradictory and says nothing about what a rejection response looks like or whether a failed/partial action has side effects.

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 'body' parameter is a free-form object with additionalProperties=true and 0% schema description coverage, so the schema says nothing about shape. The description does compensate meaningfully by routing the agent to query_contexts request='actions_details' to obtain the exact body structure, but it never names required keys or gives an example, so one round-trip is still mandatory before the agent can construct a valid body.

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 Notion action') and frames it as the final step of a named workflow, which lets an agent place it relative to query_contexts. 'Action' itself stays generic – the description never says what kinds of actions exist beyond SELECT queries, and differentiation comes from workflow position rather than from what the 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 Guidelines5/5

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

Explicit ordering: two prerequisite query_contexts calls with exact request values ('accounts', 'actions_details'), plus 'IMPORTANT: Always call step 2... before executing.' The alternative data-reading path (query_data/query_contexts) is implied by making this the terminal step. Nothing about when to invoke it is left to inference.

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.