Skip to main content
Glama

Create a new agent from a process I describe

create_agent_from_process

Draft a new Dactic agent, and the new skills it needs, from a process the user describes in this chat — use this when the user's existing skills don't cover the work (synthesize_agent only reuses existing skills). The input includes purpose, concrete ordered steps, trigger, resources, and constraints for the process. Runs in the background: returns a task_id; call get_task_status until succeeded (with the draft and its review link) or failed. The draft is saved for review in the Dactic app and is never deployed from here. target_platform claude only; Monday agents are created in the Dactic app.

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": {
      "purpose": "<purpose>",
      "steps": "<steps>"
    },
    "name": "create_agent_from_process"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
notesNo
stepsYesThe concrete steps, in order.
purposeYesWhat the agent is for.
triggerNoWhen the agent runs.
resourcesNoData sources or tools the agent uses.
constraintsNoThings the agent must never do.
idempotency_keyNo
target_platformNo

Output Schema

NameRequiredDescriptionDefault
statusYes
messageNo
task_idYes
idempotent_replayNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / properties / constraints / description
      Added value: +"Things the agent must never do."
    • addedInput schema / properties / purpose / description
      Added value: +"What the agent is for."
    • addedInput schema / properties / resources / description
      Added value: +"Data sources or tools the agent uses."
    • addedInput schema / properties / steps / description
      Added value: +"The concrete steps, in order."
    • addedInput schema / properties / trigger / description
      Added value: +"When the agent runs."
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Goes well past the annotations by disclosing asynchronous execution, the task_id return, the polling loop against get_task_status, and the crucial fact that the draft is saved for review and never deployed. That is meaningful context the readOnly/destructive hints do not convey. It stops just short of describing what happens to conflicting names or what an idempotency_key collision does.

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?

The what, the when, and the async contract are all front-loaded in three tight sentences with no filler. Minor cost: the sentence about input contents lists fields the schema already documents, so a few words are spent on low-value restatement.

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 nine-parameter async creation tool with an output schema, the description covers the full call cycle: what to supply, that it returns a task_id, how to poll, and that success yields a draft plus review link. Nothing essential to invoking or following up correctly is missing.

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?

Schema coverage is a middling 56%, and much of what the description says ('purpose, concrete ordered steps, trigger, resources, and constraints') restates the schema's own field descriptions. The one genuine addition is the target_platform restriction to claude despite the enum listing monday, which resolves a real ambiguity. name, notes, and idempotency_key remain unexplained in both places.

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?

States a specific verb and resource ('Draft a new Dactic agent, and the new skills it needs') and bounds the input source ('from a process the user describes in this chat'). It explicitly distinguishes itself from the closest sibling, noting that synthesize_agent only reuses existing skills.

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 an explicit selection condition ('use this when the user's existing skills don't cover the work') plus the counter-case naming synthesize_agent. It also carves out an exclusion for platform (Monday agents are created in the Dactic app) so the agent knows when not to call 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.