Skip to main content
Glama

Create project

create_project

Create a new project — the entity the embed/chat widget attaches to. A project must belong to a customer: pass customer_id, or customer_name to match an existing customer (case-insensitive) or create one. Returns the created project including its auto-generated embed_key (the pk_… publishable key the widget snippet uses). Call get_embed_snippet afterwards for the ready-to-paste . Requires a full-access (non-customer) role.

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

Input Schema

NameRequiredDescriptionDefault
nameYesProject name
activeNoWhether the project is active (default: true)
currencyNoOptional project currency, e.g. EUR (default EUR)
customer_idNoCustomer UUID the project belongs to. Provide this or customer_name.
descriptionNoOptional project description
hourly_rateNoOptional hourly rate for this project (overrides the customer's default_hourly_rate). Admin only.
customer_nameNoCustomer name — matched case-insensitively against existing customers, otherwise a new customer is created. Used only if customer_id is omitted.
chat_widget_enabledNoEnable the AI chat tab in the embed widget (default: false)
embed_allowed_originsNoOrigins allowed to load the widget, e.g. ["https://example.com"]. Defaults to none set.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the annotations (which already declare non-read-only, non-destructive, non-idempotent, closed-world), the description discloses the significant side effect that an unmatched customer_name silently creates a new customer, notes case-insensitive matching, states the auth requirement (full-access non-customer role), and describes the returned embed_key.

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?

Four sentences, front-loaded with the identity and ownership constraint, then return value, follow-up call, and auth. Every clause carries operational information with no filler.

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 9-parameter creation tool with no output schema, the description supplies the missing return-value information (created project with auto-generated embed_key), the customer-creation side effect, the follow-up tool, and the permission requirement. An agent can call this correctly without further inference.

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%, so each of the 9 parameters is already documented, including the customer_id vs customer_name precedence. The description restates the customer_id/customer_name rule and adds the pk_ prefix meaning for the returned embed_key, but adds little meaning beyond the schema, so baseline 3 applies.

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 (create a project) and immediately defines what a project is (the entity the embed/chat widget attaches to), which no sibling name conveys. It is clearly distinguishable from update_project or get_embed_snippet.

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

Usage Guidelines4/5

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

Gives concrete when-to-use context and prerequisites: a project must belong to a customer, pass customer_id or customer_name, and a full-access non-customer role is required. It also routes the agent forward to get_embed_snippet for the ready-to-paste script. It stops short of explicitly naming alternatives (e.g. update_project for existing projects) or stating exclusions.

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