Skip to main content
Glama

LeadShark Apex: LinkedIn MCP

delete_automation_template

DestructiveIdempotent

Permanently deletes one of your automation templates. Automations and scheduled posts already created from it keep working (they have their own copy). Ask the user to confirm before deleting.

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": {
      "template_id": "<template_id>"
    },
    "name": "delete_automation_template"
  }
}

Input Schema

NameRequiredDescriptionDefault
act_asNoAPEX+ or admin act_as (optional): operate this tool AS one of your managed profiles — pass that profile's LeadShark account email (see list_profiles). Requires an active delegation from the profile owner plus an APEX+ plan or admin act_as enabled by LeadShark (which runs on the profile's own plan); anything else is refused with a reason, never silently redirected. The action runs under the managed profile's own budgets, approval queue, and action log. With a Team key, act_as is required on every call and must be one of the key's accounts (list_profiles); the call must also be within the permission groups the key has on that account, or it's refused with permission_missing. Hourly/daily limits are that profile's own.
template_idYesThe template id, from manage_automation_templates list.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the safety profile is covered. The description adds non-obvious semantics the annotations cannot convey: deletion is permanent, and existing automations/scheduled posts survive because they hold their own copy. Missing only failure behavior (e.g., unknown template_id) and whether anything is returned.

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?

Two short sentences plus a one-line imperative, all front-loaded with the permanence warning first. The confirmation instruction slightly overlaps with destructiveHint but is short and actionable rather than filler.

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 destructive, two-parameter tool with no output schema and full schema coverage, the description carries the essential risk context: permanence, downstream effects on derived automations, and a confirmation prompt. Only post-call expectations (error case, return value) are left implicit.

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 description coverage is 100%, so both template_id and act_as are fully documented in the schema, including delegation requirements and permission_missing behavior. The description adds no parameter-level meaning beyond that, which is the expected baseline when the schema is complete.

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 ('Permanently deletes ... automation templates') with a scope qualifier ('one of your'). It is clearly distinguishable from create_automation/edit_automation, though the routing to manage_automation_templates appears only in the template_id parameter description rather than in the main body.

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?

Gives one concrete procedural guideline ('Ask the user to confirm before deleting'), which is genuinely useful for a destructive action. However, it offers no when-to-use vs when-not guidance or alternatives (e.g., removing automations built from the template vs. deleting the template itself), leaving usage context implied.

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