Skip to main content
Glama

Chat with the project agent

dreamagent_chat

WRITE ACTION — builds, modifies, or fixes an EXISTING project with a natural-language instruction. Use ONLY when the user clearly asks for a change ("add X", "fix Y", "change the theme"). If the user is only asking for advice, analysis, review, or suggestions ("what could be improved?", "review my bot"), do NOT call this — answer from the project's info instead; a review request is not an edit.

Describe ONLY the desired change — DreamAgent's AI automatically handles code, tests, rebuild, and redeployment. Completed changes are saved and committed automatically.

ASYNCHRONOUS: returns immediately with the session_key; monitor with dreamagent_get_edit_progress (or dreamagent_get_chat_status with the returned session key) until a terminal state. Report success only after run_status reaches 'completed'. Edits consume the user's AI credits.

ERRORS (actual returns): failures come back as text starting with 'ERROR:'. If the edit was rejected before starting, the text says 'the edit was NOT started' plus the reason — HTTP 402 insufficient credits, 409 another edit already active, 423 session lock held by another session, 404 wrong project id, 401 no account connected. Treat the edit as failed/cancelled only when a status tool says so.

ONE EDIT AT A TIME: never start another modification on the same project while one is running — check progress first and wait.

SUPERPOWERS: projects can use the account's enabled AI tools (song/video/image generation, voiceover, lip sync, voice clone, transcription, media processing, PDF tools). If the user asks to add or use one ("add song generation", "generate an image feature"), simply include that in the message — DreamAgent's agent knows the enabled tools and wires the integration, UI and job handling automatically. Check the catalog with dreamagent_list_superpowers; if a tool is disabled, direct the user to dreamagent.cloud -> Superpowers to enable it first.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
messageYesthe desired change (what + any behavioral constraints).
project_idYesthe project to modify.
new_sessionNooptional — start a fresh session for a new topic.
session_keyNooptional — continue a specific development session.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only cover the safety profile (not read-only, non-destructive, open-world); the description adds substantial context beyond that: asynchronous return with session_key, automatic code/test/rebuild/commit behavior, AI-credit consumption, a one-edit-at-a-time concurrency rule, and concrete error semantics (HTTP 402/409/423/404/401 and 'ERROR:' prefixes).

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?

Lengthy, but every block is labeled and front-loaded (WRITE ACTION, ASYNCHRONOUS, ERRORS, ONE EDIT AT A TIME, SUPERPOWERS), so an agent can scan for the relevant rule. Slightly verbose, with a few restatements (e.g., the failure/terminal-state caveat appears twice), keeping it short of a 5.

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

Completeness5/5

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

For an async mutation tool with an output schema, the description covers everything an agent needs before and after calling: how to invoke, that it returns immediately, which tools to poll, when success can be reported, credit impact, and the concurrency and error envelope. No material gap remains.

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 100%, so the baseline is 3, but the description adds real meaning on top: it instructs that the message should describe ONLY the desired change and that the agent handles the rest, and it ties session_key/new_session to session continuation vs. fresh topics. It does not add format constraints beyond that.

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?

Opens with 'WRITE ACTION — builds, modifies, or fixes an EXISTING project with a natural-language instruction', giving a specific verb class, resource, and scope. It explicitly separates itself from read/advice tools, so an agent can distinguish it from siblings like dreamagent_get_project_status or dreamagent_edit_file.

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

Usage Guidelines5/5

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

Gives explicit when-to-use ('add X', 'fix Y') and when-not ('advice, analysis, review, or suggestions' → do NOT call). Also routes to siblings by name for monitoring (dreamagent_get_edit_progress, dreamagent_get_chat_status) and catalog lookup (dreamagent_list_superpowers).

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