Skip to main content
Glama

get_system_prompt

Retrieve the system prompt or a named custom prompt by optional name; omit the name to return the current system prompt.

Instructions

Get system prompt or custom prompt / 获取系统提示词或自定义提示词.

Args: prompt_name: Prompt name (optional), None returns system prompt / 提示词名称(可选),None 则返回系统提示词

Returns: Prompt content / 提示词内容

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": "get_system_prompt"
  }
}

Input Schema

NameRequiredDescriptionDefault
prompt_nameNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.4/5.0
Behavior3/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. It does disclose the key behavioral trait that omitting the argument falls back to the system prompt, and 'Get' implies a read-only retrieval, but it says nothing about permissions, error behavior for unknown prompt names, or whether content is cached or mutable.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Content is front-loaded with the purpose stated first, and the Args/Returns structure is easy to scan. However, every sentence is duplicated in English and Chinese, which roughly doubles length without adding information for a single-language reader.

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

Completeness3/5

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

With one optional parameter and an output schema present, most of what an agent needs to invoke the tool is covered, and return values need not be explained. Missing pieces are the set of valid prompt names and any failure behavior, which matter for correct invocation.

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 0%, so the description must compensate, and it does cover the one thing that matters: prompt_name is optional and None returns the system prompt rather than failing. It stops short of describing the expected naming format or whether arbitrary names are accepted.

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 clear verb (Get) and resource (system prompt or custom prompt), which is unambiguous on its own. It does not differentiate itself from any sibling, but the sibling list is a set of unrelated debugger/status tools, so the risk of confusion is low.

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

Usage Guidelines3/5

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

Usage is only implied: calling with no prompt_name returns the system prompt, calling with a name returns a custom prompt. There is no explicit when-to-use statement, no mention of when to prefer this over other prompt-related retrieval, and no guidance on which prompt names are valid.

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