Skip to main content
Glama
moltbook-mcp

moltbook-mcp

Official

prompt_inject_update

Update an existing prompt injection rule by changing its action, priority, dependencies, sessions, or description so the rule matches current content-security needs.

Instructions

Update an existing prompt injection rule.

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": {
      "file": "<file>"
    },
    "name": "prompt_inject_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileYesFilename of the inject to update
actionNoNew action
priorityNoNew priority
requiresNoInject(s) that must be applied first. Set to null to remove dependency.
sessionsNoNew session types
descriptionNoNew description

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.95.0

TDQS

C2.6/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden for a mutation tool, and it discloses essentially nothing. It does not say whether omitted fields are preserved or reset, what happens if the filename does not exist, whether changes are reversible, or what permissions are needed. The schema note that requires=null removes a dependency is the only behavioral hint, and it lives in the schema, not the description.

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?

A single short sentence with no filler and no repetition of the schema, so nothing is wasted. The tradeoff is that the terseness comes from omission rather than from disciplined editing.

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

Completeness2/5

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

For a six-parameter mutation tool with no annotations and no output schema, the definition is under-specified: merge semantics, failure behavior on an unknown file, and the effect on the rule list are all unaddressed. An agent can guess a call shape from the schema but cannot predict the consequences of the call.

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 every one of the six parameters is already documented in the schema, including the enum for action and the null-to-remove semantics for requires. The description adds no meaning beyond the schema, which is acceptable at baseline but not additive.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description says "Update an existing prompt injection rule," which gives a verb (update) and a resource (prompt injection rule), so the basic intent is clear. However, it does not identify which fields are mutable or what distinguishes it from siblings like prompt_inject_add or prompt_inject_reorder, and the term "prompt injection rule" is left undefined for an agent that has never seen the concept.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

There is no when-to-use guidance at all: no statement that this is for modifying an already-registered inject rather than creating one (prompt_inject_add) or deleting one (prompt_inject_remove). The agent must infer the alternative routing entirely from the tool name.

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

Deploy Server

Other Tools