Skip to main content
Glama

Get system prompt

dosai_get_prompt
Read-onlyIdempotent

Read the assistant's system prompt: the instructions that define how it talks to clients. Requires admin or owner role on the project.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_idYesProject id, as returned by dosai_list_projects.
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint, and destructiveHint. The description adds the role requirement (admin/owner) and what the prompt contains, enhancing behavioral context beyond the structured hints.

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

Conciseness5/5

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

Two sentences, front-loaded with the verb and resource, followed by a critical permission note. Every word earns its place; no redundancy.

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?

The tool is simple (one parameter, no output schema). The description conveys the core purpose and permission requirement, but does not explicitly mention the return format. Still, the return is implied as the prompt, so it is adequate for the complexity.

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?

The input schema fully describes project_id with a clear reference ('as returned by dosai_list_projects'). The description adds no parameter-specific info, but since schema coverage is 100%, the baseline of 3 applies.

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

Purpose5/5

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

The description uses the specific verb 'Read' with the resource 'assistant's system prompt', and clarifies what the prompt is ('instructions that define how it talks to clients'). This clearly distinguishes it from sibling tools like dosai_update_prompt, which writes the prompt.

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?

The description provides clear context (reading the system prompt) and a prerequisite (admin/owner role), but it does not explicitly name alternatives or state when not to use the tool. Still, the context is sufficient for an agent to decide when to invoke it.

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