Skip to main content
Glama
IzikStar

linkedin-agent-mcp

by IzikStar

Cancel a prepared action

linkedin_cancel_action

Cancels a pending or confirmed action so it cannot execute, updating local state only. Use when you change your mind or a draft is superseded.

Instructions

[PREPARE - changes local state only; performs NO external action] Cancels a PENDING or CONFIRMED action so it can never be executed (local state only). Use when the user changes their mind or the draft is superseded.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionIdYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeYes
errorNo
statusYes
previewYesExactly what will happen if the user confirms and the action is executed.
actionIdYes
createdAtYes
expiresAtYes
completedAtNo
confirmedAtNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare openWorldHint=false and destructiveHint=false, and the description reinforces this by stressing 'local state only; performs NO external action' twice. It also adds state-machine detail (PENDING/CONFIRMED) that the annotations do not convey. No contradiction, and it contributes beyond the structured fields.

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?

Front-loads the critical PREPARE/local-only caveat in brackets, then the operation and its usage in two short sentences. Every clause earns its place with no redundancy.

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?

With an output schema present, return values need no explanation, and the description covers purpose, effect, and usage. It is nearly complete for a one-parameter tool; the only gap is the unexplained actionId semantics.

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?

There is a single parameter (actionId) with 0% schema description coverage, so the description must compensate and largely does not. It only implies actionId refers to an action via 'PENDING or CONFIRMED action'; it never explains ID format, source, or the 8-64 char constraint.

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 (cancels) and a precisely scoped resource (a PENDING or CONFIRMED action), including the consequence ('can never be executed'). This clearly separates it from siblings like linkedin_get_action and linkedin_list_actions, which read rather than cancel.

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?

Explicitly gives the triggering context: 'Use when the user changes their mind or the draft is superseded.' That is clear when-to-use guidance, though it names no explicit alternative tool for related operations.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.