Skip to main content
The 3ngram MCP server exposes the following prompts tools. Every entry is generated from the tool’s source signature and docstring, so this page never drifts from the backend.
Required parameters are marked with the required attribute. Optional parameters show their default value.

create_prompt

Create Prompt · writes · non-destructive · non-idempotent · closed-world Create a new custom MCP prompt template (reusable instruction with {placeholder} arguments). Distinct from the built-in prompts; stored per user. Returns: str Source: backend/src/engram/mcp/tools/prompts.py

Parameters

name
str
required
Prompt name (lowercase, alphanumeric/hyphens/underscores, 1-63 chars).
content
str
required
Prompt template text. Use {placeholder} for arguments.
description
str | None
default:"None"
Optional description shown in prompt list.
arguments
str | None
default:"None"
Optional JSON array of arguments, e.g. [{“name”: “project”, “description”: ”…”, “required”: true}]
visibility
str
default:"'private'"
‘private’ (default) or ‘public’. Public prompts appear in the marketplace.
category
str | None
default:"None"
Optional category. One of: coding, writing, research, productivity, devops, data, communication, other.

delete_prompt

Delete Prompt · writes · destructive · idempotent · closed-world Delete a custom MCP prompt template by name. Built-in prompts cannot be deleted. Returns: str Source: backend/src/engram/mcp/tools/prompts.py

Parameters

name
str
required
Name of the prompt to delete.

get_prompt

Get Prompt · read-only · non-destructive · idempotent · closed-world Fetch full details of a single MCP prompt (built-in or custom): content, description, arguments, visibility, category. Returns: str Source: backend/src/engram/mcp/tools/prompts.py

Parameters

name
str
required
Name of the prompt to retrieve.

list_prompts

List available prompts · read-only · non-destructive · idempotent · closed-world List all MCP prompts (built-in and custom). Returns a human-readable summary of each prompt (name, description, argument names). When invoked via MCP, the transport layer also emits a structuredContent payload matching ListPromptsResponse ({prompts: [{name, description, arguments, visibility, category}], total, builtin_count, custom_count}). Returns: str Source: backend/src/engram/mcp/tools/prompts.py This tool takes no parameters.

update_prompt

Update Prompt · writes · non-destructive · idempotent · closed-world Update fields on an existing custom MCP prompt template (content, description, arguments, visibility, category). Built-in prompts cannot be updated. Returns: str Source: backend/src/engram/mcp/tools/prompts.py

Parameters

name
str
required
Name of the prompt to update.
content
str | None
default:"None"
New template text (optional).
description
str | None
default:"None"
New description (optional, set to empty string to clear).
arguments
str | None
default:"None"
New arguments JSON array (optional).
visibility
str | None
default:"None"
‘private’ or ‘public’ (optional).
category
str | None
default:"None"
Category or empty to clear. One of: coding, writing, research, productivity, devops, data, communication, other.