Skip to main content
Glama

Postkey: Instagram DM Automation and Comment-to-DM

Change the Postkey AI setup

postkey_update_ai_replies
Destructive

Postkey: Changes what Postkey AI knows and how it answers. Send only the parts to change. Write only what the person said or their pages say: never invent prices or offers. While Postkey AI is on and this connection asks a person first, it is NOT saved and waits in Approvals (waiting_for_approval). Switching answers on or approve_first false is the person's own tap (needs_a_person). Sends nothing.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "postkey_update_ai_replies"
  }
}

Input Schema

NameRequiredDescriptionDefault
goalNokind (leads: ask for an email, followers, link), question (leads), url (link: their https link), label (link, up to 20).
toneNopreset (friendly, professional, playful, short), notes (up to 500), examples (up to 5 replies, 300 each).
safetyNohandover_on_ask, handover_when_unsure, hours { enabled, start, end (HH:MM), time_zone (IANA) }.
answersNodms, comments: only false here (switches answers off).
knowledgeNoSections about, offers, prices, faqs, links, website: text, up to 10,000 characters each.
comment_rulesNoquestions (answer questions under posts in public), approve_first (only true here).
knowledge_modeNoreplace (default) or append to each section sent.

Output Schema

NameRequiredDescriptionDefault
okYesfalse: refused (isError; code, message, guide_topic, url); no change.
nextNoWhat to tell the person.
pageNoThe Postkey AI page.
savedNotrue: saved.
setupNoThe setup page.
changedNoThe fields changed.
switchesNoAs in postkey_get_ai_replies.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, and the description adds real behavioral context beyond them: approval-gated writes that land in waiting_for_approval, a consent requirement (needs_a_person) when turning answers on or clearing approve_first, and a data-integrity rule against inventing prices or offers. What it does not spell out is that knowledge_mode 'replace' (the default) overwrites existing sections, which is the primary reason the destructive hint is set.

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?

The purpose is front-loaded in the first sentence and the whole definition is compact with no filler. The telegraphic phrasing ('Switching answers on or approve_first false is the person's own tap') is dense to the point of being slightly cryptic, which keeps it off a 5.

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 7-parameter nested-object mutation with an output schema available, the description covers purpose, patch semantics, approval gating, and content constraints without needing to explain return values. The remaining gap is the destructive consequence of the default replace mode, which an agent should know before calling.

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 baseline is 3, and the description lifts it by clarifying partial-object semantics ('send only the parts to change') and by constraining content provenance (only what the person or their pages say). It still defers the field-level detail — goal, tone, safety, knowledge — entirely to the schema.

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?

The description states a specific verb and resource: 'Changes what Postkey AI knows and how it answers,' which clearly identifies an update to the AI replies configuration and distinguishes it from the read-side sibling postkey_get_ai_replies. It stops short of naming a sibling explicitly for disambiguation, so it lands at clear-but-not-differentiated.

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?

'Send only the parts to change' tells the agent this is a partial/patch-style update rather than a full replacement, and the Approvals paragraph explains the condition under which a call will NOT persist. No explicit when-not or alternative-tool routing is given, so it is slightly below the top band.

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