Skip to main content
Glama

Chat with the project agent

dreamagent_chat
Destructive

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. A run has succeeded only once run_status reaches 'completed'. Each edit consumes AI usage from the account's plan.

ERRORS: failures are returned as tool errors. If the edit was rejected before starting, the message says 'the edit was NOT started' plus the reason — HTTP 402 insufficient usage allowance, 409 another edit already active, 423 session lock held by another session, 404 wrong project id, 401 no account connected.

ONE EDIT AT A TIME: the API rejects a second concurrent edit on the same project (409); check progress and wait for the current edit.

SUPERPOWERS: projects can use the account's enabled add-on AI tools. To add or use one, name the feature 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; disabled tools are enabled at dreamagent.cloud → Superpowers.

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": {
      "project_id": "<project_id>",
      "message": "<message>"
    },
    "name": "dreamagent_chat"
  }
}

Input 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

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, and the description is consistent with them while adding substantial context beyond them: the edit is asynchronous, returns a session_key immediately, auto-handles code/tests/rebuild/redeploy, auto-commits, and consumes plan AI usage. It also documents the concrete failure modes (402/409/423/404/401) and the one-concurrent-edit constraint, which annotations cannot express.

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?

Front-loads the critical fact (WRITE ACTION) and then uses labeled sections — ASYNCHRONOUS, ERRORS, ONE EDIT AT A TIME, SUPERPOWERS — so an agent can scan rather than parse prose. The HTTP code list is the longest block but each code maps to a distinct remediation, so it earns its space.

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 a destructive, asynchronous mutation tool with an output schema and full annotation coverage, the description covers the remaining unknowns an agent needs: async completion semantics with the exact terminal condition (run_status 'completed'), concurrency limits, error-to-cause mapping, and the commit side effect. Return-value shape is correctly left to the output schema.

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 description coverage is 100%, so the baseline is 3, but the description adds real meaning: the message should describe ONLY the desired change plus behavioral constraints, and the returned session key is what you pass to the progress tools or reuse to continue a session. It does not explain when to prefer new_session over session_key, which is the one parameter distinction left to inference.

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 a specific verb and resource ("WRITE ACTION — builds, modifies, or fixes an EXISTING project") and immediately contrasts it with the non-edit case (advice, analysis, review, suggestions). An agent can distinguish this from read-only siblings like dreamagent_read_file or dreamagent_get_project_status without opening any schema.

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 triggers ("add X", "fix Y") and explicit when-not-to-use cases with the correct alternative behavior (answer from the project's info for review/advice requests). It also tells the agent what to do after calling (monitor with dreamagent_get_edit_progress or dreamagent_get_chat_status) and points to dreamagent_list_superpowers for add-on discovery.

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.