Skip to main content
Glama
Instagram Posting MCP

Instagram Posting MCP

set_startup_mode

Switch the Instagram Posting bridge between auto-start at login and manual on-demand startup, with user confirmation required before changing the mode or OS startup entry.

Instructions

Switch the bridge between auto-start and on-demand, any time, with no reinstall. This tool NEVER switches silently: a call with confirm=false (or omitted) changes NOTHING — it only returns the exact Yes/No question to ask the user. Only call it again with confirm=true after the user said Yes to that question. auto_start: a tiny wake helper (5–10 MB RAM) starts at login so your AI can wake the bridge when you need to post; the full bridge still shuts itself off after 5 min idle. on_demand: nothing runs at login; you start the bridge yourself when you want to post. The mode is saved to config.json (startup_mode) and the OS auto-start entry is created/removed (Windows: HKCU Run value, user hive, no admin; macOS: LaunchAgent plist; Linux: autostart .desktop file). If the OS entry cannot be changed, the mode is NOT saved and the tool returns a clear error.

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": {
      "mode": "<mode>"
    },
    "name": "set_startup_mode"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeYesThe startup mode to switch to
confirmNoMust be true ONLY after the user said Yes to the switch. With false, nothing changes — the tool only returns the confirmation question.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.5/5.0
Behavior5/5

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

No annotations are supplied, so the description carries the full burden and does so: it guarantees the tool never switches silently, describes persistence to config.json (startup_mode), names the concrete OS artifacts created or removed (HKCU Run value with no admin, LaunchAgent plist, autostart .desktop), and states the atomic failure semantic — if the OS entry cannot be changed the mode is not saved and a clear error 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?

Dense but front-loaded: the critical no-op-without-confirmation rule comes before the mode explanations, and each sentence adds a distinct fact. The OS-specific entry details are slightly heavy, but they justify the 'clear error' claim an agent may need to explain to a user.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema exists, so the description disclaims return values itself: it says a non-confirmed call returns the exact question to ask and that failures return a clear error. For a two-parameter switching tool with real filesystem and OS-level side effects, the definition covers everything needed to call it correctly and safely.

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 coverage is 100%, so the schema already documents mode and confirm, but the description adds genuine meaning the schema lacks: what auto_start and on_demand actually do at runtime (RAM footprint, 5-minute idle shutdown, who starts the bridge). The confirm parameter's semantics are restated rather than extended, which keeps it just short of a 5.

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?

A specific verb and resource — switching the bridge between two named startup modes — with both modes defined in concrete terms (a 5–10 MB wake helper vs. nothing at login). It is unambiguous on its own, though it never relates itself to the sibling tools (request_uninstall is the nearest neighbor) to say which one an agent should reach for.

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?

Explicitly states the two-step protocol: a call with confirm=false or omitted changes nothing and only returns the exact Yes/No question, and confirm=true is permitted only after the user answered Yes. It also names the condition under which each mode is appropriate (want the AI to be able to wake the bridge vs. start it yourself), leaving nothing to inference.

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