Skip to main content
Glama

Draft a new agent from my skills

synthesize_agent

Draft a new Dactic agent for a task the user describes, built only from the user's own Dactic skills, policies and work context. Runs in the background: it returns a task_id at once; call get_task_status with it until the status is succeeded or failed. The result is a draft saved for review in the Dactic app — it is never deployed from here. If none of the user's skills fit, the result says not_enough_material: then offer create_agent_from_process, which builds the agent and its new skills from the process the user describes. If the user's existing agents or drafts already use every skill that fits, the result says existing_agent_covers and names them instead of drafting a duplicate; for a genuinely new process use create_agent_from_process. target_platform claude only for now.

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": {
      "task_description": "<task_description>"
    },
    "name": "synthesize_agent"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
idempotency_keyNo
target_platformNo
task_descriptionYes

Output Schema

NameRequiredDescriptionDefault
statusYes
messageNo
task_idYes
idempotent_replayNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the annotations: discloses that the call is asynchronous, returns a task_id immediately, and must be polled via get_task_status until succeeded or failed. It also clarifies the blast radius (draft saved for review, never deployed from here) and enumerates the sentinel result states an agent must handle.

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?

Front-loaded with the operation and the async contract, then the two failure-mode branches. Every sentence carries routing or behavior information, though the create_agent_from_process pointer is stated twice and could be tightened into one clause.

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?

An output schema exists, so return values needn't be spelled out, and the description still covers the async lifecycle and sentinel outcomes that matter for correct invocation. The remaining gap is the unexplained name and idempotency_key parameters, which slightly under-serves a 4-parameter mutation tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description carries the burden, but it only clarifies target_platform ('claude only for now') and implicitly the task_description. The name and idempotency_key parameters are never explained, leaving half the surface undocumented, including the retry-safety semantics of the idempotency key.

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') plus the key scope constraint: built only from the user's own skills, policies and work context. It also explicitly separates itself from create_agent_from_process, so an agent can route between them without opening either 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 guidance and names a concrete alternative (create_agent_from_process) under two distinct conditions: not_enough_material and existing_agent_covers. It also states the 'genuinely new process' case that should be redirected, which is exactly the disambiguation an agent needs.

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.