Skip to main content
Glama

create-agent

Create a new AI agent by providing a business name and optional settings like services, contacts, and qualification rules, so you can launch a chat agent that answers visitors.

Instructions

Create a new AI agent. Only businessName is required, all other fields are optional.

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": {
      "businessName": "<businessName>"
    },
    "name": "create-agent"
  }
}

Input Schema

NameRequiredDescriptionDefault
faqNoFrequently asked questions
contactsNoContact information
followupNoOutbound follow-up email. Sent from the owner's connected Gmail so it lands in Primary inbox. Requires visitor opt-in checkbox + gmailConnection on owner.
servicesNoList of services offered
chatModelNoModel that writes replies to visitors. "standard" (default) or "advanced" — better sales conversations, each reply counts as 15 messages against the monthly plan limit. Advanced needs the Starter plan or higher.
claimableNoAdmin only. When true, shows a "Claim agent" button on the public chat page so a prospect can take over this demo agent (it transfers to their account). Defaults to false.
bookingUrlNoURL for online booking
widgetTitleNoTitle displayed in the chat widget
businessNameYesName of the business (required)
restrictionsNoTopics or actions the agent should avoid
businessHoursNoBusiness hours (e.g. "Mon-Fri 9am-5pm")
qualificationNoStructured lead qualification (BANT/MEDDIC-style). AI weaves questions into chat, classifier extracts answers, score fires a webhook on threshold crossing.
defaultGreetingNoGreeting message for visitors
defaultLanguageNoLanguage code (e.g. "en", "ru", "es")
escalationRulesNoRules for when to escalate to a human
communicationToneNoCommunication style
proactiveTriggersNoRules that auto-open the widget on visitor behavior. Max 10 per agent.
attachmentsEnabledNoLet visitors send photos (the agent sees them) and files in chat. Starter plan or higher. Defaults to false.
businessDescriptionNoDescription of the business

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden for a mutation tool with 19 parameters. It says nothing about whether the agent is live immediately, whether it must go through submit-agent-for-review, whether an API key is issued, what plan constraints apply, or what happens on failure — all things an agent needs before invoking a create operation.

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 short sentences, front-loaded with the verb and resource, with zero filler or repetition. Nothing could be removed without losing content.

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

Completeness2/5

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

For a 19-parameter creation tool with deep nested objects, no annotations, and no output schema, the definition is far too thin. An agent gets no information about the lifecycle of the created agent (active state, review requirement, key issuance) or about how the returned object should be used.

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 description coverage is 100% and the nested fields (followup, qualification, proactiveTriggers) are richly documented in the schema itself, so the schema does the heavy lifting. The description adds only the required/optional split, which duplicates the schema's required array and $schema-level documentation rather than adding new meaning.

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

Purpose4/5

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

The description states a specific verb and resource ('Create a new AI agent'), which cleanly separates it from update-agent and get-agent. It does not explicitly name a sibling or state how creation differs from cloning/duplicating, so it stops short of full differentiation.

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

Usage Guidelines3/5

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

The note that 'Only businessName is required, all other fields are optional' tells an agent how to make a minimal call, which is useful implied usage guidance. However, there is no guidance on when to prefer create-agent over update-agent, no prerequisite information (plan tier, review workflow), and no exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.