Skip to main content
Glama

create_client

Create a client (brand/domain) in the workspace and, by default, its AI-visibility project in one step — brand name, product type, Brand Profile, target attributes, brand facts, competitors (with optional domains/aliases), market, answer language, engines and passes per prompt. Respects the plan's client cap. Prompts are added afterwards with add_tracking_prompt. Requires MCP write actions; without confirm:true it returns a preview.

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_client"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesClient name as shown in the workspace (e.g. the company name).
labelNoOptional short label/segment shown on the client card.
marketNoMarket/country, ISO 3166-1 alpha-2 (e.g. "de"). null = worldwide. Omitted together with language: the website's country ending when it names one (finalgon.de → de, with its language; .com, .io, .ai … name none → worldwide), and the preview says so.
modelsNoEngines to scan, by id (default: the Balanced preset).
confirmNoSet true to apply. Omit for a preview. With confirm:true, also pass the preview's previewToken.
profileNoBrand Profile free-text fields (how the brand describes itself); steers prompt suggestions.
websiteNoThe client's primary website (https://…). Used for crawlability, favicon and the GEO audit.
languageNoAnswer language, ISO 639-1. Default: the market's usual language, else the account's language.
brandNameNoThe brand name mentions are matched against (default: the client name).
brandFactsNoDeclared factual claims to fact-check against what AI says (max 15, 200 chars each).
competitorsNoCompetitor brand names to track (they set the Share-of-Voice denominator). Max 150.
contactNameNoReport recipient's name (greets them in sent emails).
productTypeNoWhat the brand sells, e.g. "SEO agency".
aiVisibilityNoCreate the AI-visibility project too (default true). false = client only.
brandAliasesNoCanonical brand name → alternate spellings counted as the same brand (works for the client's own brand too).
contactEmailNoPrefilled recipient of one-time / scheduled report emails.
previewTokenNoWith confirm:true: the previewToken from this tool's preview (valid 15 minutes, once, for exactly the previewed arguments).
runsPerPromptNoPasses per prompt per scan (default 2; clamped to the plan's ceiling).
targetAttributesNoAttributes the brand WANTS to be known for (max 20).
competitorDomainsNoCompetitor name → website domain, e.g. { "Acme": "acme.com" }.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / market / description
      Previous value: -"Market/country, ISO 3166-1 alpha-2 (e.g. \"de\"). Omit or null = worldwide."New value: +"Market/country, ISO 3166-1 alpha-2 (e.g. \"de\"). null = worldwide. Omitted together with language: the website's country ending when it names one (finalgon.de → de, with its language; .com, .io, .ai … name none → worldwide), and the preview says so."
  2. Changed6 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / brandAliases / propertyNames
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / competitorDomains / propertyNames
      Added value: +{
      +  "type": "string"
      +}
    • removedInput schema / properties / profile / additionalProperties
      Removed value: -false
    • addedInput schema / properties / runsPerPrompt / maximum
      Added value: +9007199254740991
  3. Changed2 schema fields changed
    • changedInput schema / properties / language / description
      Previous value: -"Answer language, ISO 639-1. Default: the market's usual language, else your account's language."New value: +"Answer language, ISO 639-1. Default: the market's usual language, else the account's language."
    • changedInput schema / properties / runsPerPrompt / description
      Previous value: -"Passes per prompt per scan (default 2; clamped to your plan's ceiling)."New value: +"Passes per prompt per scan (default 2; clamped to the plan's ceiling)."
  4. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already establish readOnlyHint=false and destructiveHint=false, so the safety profile is largely covered. The description still adds real behavioral context beyond them: the plan's client cap is enforced, the call is gated on MCP write permissions, and without confirm:true it returns a preview rather than applying. However, the two-step preview/confirm mechanics are already documented in the schema.

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 core action and default behavior, then the operational caveats. The middle sentence is a long parameter roll-call that partly duplicates the schema, but every sentence carries distinct information (defaults, cap, preview, follow-up tool).

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

Completeness3/5

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

For a 20-parameter nested-schema creation tool, the description covers the operation, the default side effect, the permission gate and the preview flow, which is the critical missing-piece set. It leaves the preview's return payload and failure modes (cap exceeded, expired token) undocumented, and there is no output schema to compensate.

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 schema already carries parameter meaning and the baseline is 3. The description adds framing the schema does not: it enumerates the parameter groups as a single mental model of what a complete client setup contains and flags that competitor domains/aliases are optional. It still defers all format, limits and default details to the schema.

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 client (brand/domain) in the workspace") plus the important scope detail that it also creates the AI-visibility project by default. That single clause separates it from the many downstream tools in the sibling list, and it enumerates the object types it builds.

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 explicit routing for the follow-up step ("Prompts are added afterwards with add_tracking_prompt") and an explicit workflow prerequisite ("Requires MCP write actions"). It does not state when a caller should NOT create a client here (e.g. for an existing brand), so it stops short of full when/when-not guidance.

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