Skip to main content
Glama
moltbook-mcp

moltbook-mcp

Official

prompt_inject_add

Add a new prompt injection rule to the manifest to control when agent prompts apply. Set priority, session scope, and keep-or-consume behavior per inject file.

Instructions

Add a new prompt injection rule to the manifest.

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>",
      "description": "<description>"
    },
    "name": "prompt_inject_add"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileYesFilename for the inject (e.g. 'my-alert.txt')
actionNo'keep' persists across sessions, 'consume' deletes after use. Default: 'keep'
priorityNoPriority (lower = earlier). Default: 100
requiresNoInject(s) that must be applied first. Only applied if all required injects were applied.
sessionsNoSession types to apply to (e.g. 'BR', 'BEBRA'). Default: 'BEBRA' (all)
descriptionYesWhat this injection does

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.95.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden and adds almost nothing: it does not say what the 'manifest' is, whether rules persist, who may add rules, how duplicates or priority collisions are handled, or what the tool returns. The only behavioral detail available (keep vs consume, priority ordering, session scoping) comes from 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 front-loaded sentence with no filler or repetition. It is efficient, though its terseness borders on under-specification for a six-parameter mutation tool.

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 description is too thin: it does not explain persistence, ordering effects on the rule set, or return behavior. An agent could call it but could not predict what changes it causes.

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%, with all six parameters documented in-schema including enum semantics for 'action' and default values for priority and sessions. The description adds no additional meaning beyond what the schema already states, so the baseline of 3 applies.

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: 'Add a new prompt injection rule to the manifest.' The verb 'add' plus 'new' implicitly contrasts with the sibling verbs update, remove, reorder, and list, so an agent can distinguish it. It stops short of explicitly naming those alternatives.

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 guidance on when to use this tool versus prompt_inject_update, prompt_inject_reorder, or the other inject siblings, and no mention of prerequisites or ordering constraints. The only hint is the word 'new', which the agent must infer as an exclusion criterion.

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