Skip to main content
Glama

Start a free Diagnostic

start_diagnostic

Starts a Diagnostic of a website for the signed-in person, in two calls. The first call returns a preview and starts nothing: the website, the business name, the ten 1-to-10 self-ratings (which were answered, carried over or entered as 5 for "not sure"), the monthly tools budget, what the run is recorded as and where it is filed, which of the account's included monthly Diagnostics it uses, and a confirmation_token. A second call with that confirmation_token starts it; any change needs a new preview. When the website has versions for several countries or languages (acme.com/uk, acme.com/au), the preview lists them in site_versions, and which one is checked is the person's choice; a version is checked through a new preview with its url. A site is a domain, a subdomain or a country or language folder (acme.com/uk), and workspaces are matched by site: when a domain has workspaces for some of its folders and the address is in none of them (host_split), the run is not filed in any of them automatically, and the preview or needs_client lists them with the site each one is for. It uses only the account's included Diagnostics: when none are left the result is quota_exhausted with the reset date and the plans page, and nothing is charged. A run takes 5 to 10 minutes and a completion email also arrives; get_run_status reports progress. earlier_report_id fills in the website, name, ratings and budget from an earlier report, for a re-check; if that run did not complete and the same person started it, starting it again once for the same website and name does not use another Diagnostic (the preview says whether it applies). file_as says what the run is for, with the same five choices as the app: my_business (the account's own website), client, competitor, research or prospect. A competitor or research run of a website no workspace holds is filed in no workspace and creates none; a website or business name a client or brand workspace holds is filed in that workspace, as in the app. On an account with workspaces (clients, prospects or brands), client_id names the workspace, and needs_client lists the candidates when where the run is filed is not clear. For an owner or admin of an Agency-plan team account, file_as prospect on a website not yet in Prospects creates a new prospect workspace for it (named by prospect_name, else the business name); the preview says so and nothing is created before the confirmation. The same person may ask for a new client workspace for a site no workspace holds: file_as client with client_name (the new workspace's name); without client_name a miss lists the client workspaces instead. When another workspace on the same domain is in a client (the app's way of listing a client's workspaces together), the preview proposes adding the new workspace to that client (proposed_group), and it is added unless accept_proposed_group is false. Available on connections made through an AI assistant's sign-in.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "start_diagnostic"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoThe website to check, as the person gave it (a domain or an http/https address). Tracking parameters are removed, and the address that remains must be at most 2048 characters. Optional with earlier_report_id.
budgetNoRoughly what the business spends a month on marketing tools and software, in whole US dollars. Null when unknown: it is then entered as 0, the intake form's own default. Left out, it is also entered as 0, except with earlier_report_id, where the earlier report's budget is carried over.
file_asNoWhat the run is for, as the app's five choices name it, and so what it is recorded as. my_business: the account's own website or one of its brands, filed in the brand's workspace when the site matches one, else in no workspace. client: filed in a client workspace; with client_name, the same person may have a new client workspace created for a site no workspace holds. competitor or research: another business, filed in no workspace, or in the client or brand workspace named by client_id or matching the website; never in a prospect workspace. prospect: filed in Prospects; for an owner or admin of an Agency-plan team account, a website not yet in Prospects gets a new prospect workspace. own is the earlier name for my_business and is still accepted. Left out, a run in a workspace is recorded by the workspace (a brand's runs as my_business), a re-check keeps the earlier report's when it fits, and a run in no workspace is recorded as research; the preview says which.
client_idNoThe client, prospect or brand workspace to file the run in. It must be a workspace of this account, and one the file_as choice may be filed in.
client_nameNoAsks for a new client workspace with this name, for the site of the address (the domain, or its country or language folder such as acme.com/uk) when no workspace of the account holds that site. Sent only with file_as client and without client_id, and only when the person asked for a new client workspace; for an owner or admin of an Agency-plan team account. Invisible and control characters are removed; it needs a letter or digit.
business_nameNoThe name of the business that operates the website, as the person gave it. Optional with earlier_report_id.
prospect_nameNoThe name of a new prospect workspace, sent only with file_as prospect and without client_id. Left out, the business name is used. Invisible and control characters are removed; it needs a letter or digit.
side_a_scoresNoThe person's own 1-to-10 rating of each pillar, keyed attribution, tech_stack, conversion, compliance (shown to people as Trust & Security), brand, marketing, advertising, competitors, product and discoverability. A pillar left out is "not sure" and is entered as 5, the intake form's own default.
earlier_report_idNoAn earlier Diagnostic of this account whose website, business name, ratings and budget fill in anything not sent.
confirmation_tokenNoThe confirmation code this tool's preview returned. Present only on the second call, which starts the run.
accept_proposed_groupNoWhether the new client workspace is added to the client the preview proposes (proposed_group: the client another workspace on the same domain is in). Left out, it is added; false creates it in no client. Sent only with client_name; like client_name, it is not used when the website already belongs to a workspace, because no new workspace is created then. No other client can be chosen here; that is done in the Yellowhead app.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / accept_proposed_group
      Added value: +{
      +  "description": "Whether the new client workspace is added to the client the preview proposes (proposed_group: the client another workspace on the same domain is in). Left out, it is added; false creates it in no client. Sent only with client_name; like client_name, it is not used when the website already belongs to a workspace, because no new workspace is created then. No other client can be chosen here; that is done in the Yellowhead app.",
      +  "type": "boolean"
      +}
  2. Changed2 schema fields changed
    • changedInput schema / properties / client_name / description
      Previous value: -"Asks for a new client workspace with this name, for a website no workspace of the account holds. Sent only with file_as client and without client_id, and only when the person asked for a new client workspace; for an owner or admin of an Agency-plan team account. Invisible and control characters are removed; it needs a letter or digit."New value: +"Asks for a new client workspace with this name, for the site of the address (the domain, or its country or language folder such as acme.com/uk) when no workspace of the account holds that site. Sent only with file_as client and without client_id, and only when the person asked for a new client workspace; for an owner or admin of an Agency-plan team account. Invisible and control characters are removed; it needs a letter or digit."
    • changedInput schema / properties / file_as / description
      Previous value: -"What the run is for, as the app's five choices name it, and so what it is recorded as. my_business: the account's own website or one of its brands, filed in the brand's workspace when the site matches one, else in no workspace. client: filed in a client workspace; with client_name, the same person may have a new client workspace created for a website no workspace holds. competitor or research: another business, filed in no workspace, or in the client or brand workspace named by client_id or matching the website; never in a prospect workspace. prospect: filed in Prospects; for an owner or admin of an Agency-plan team account, a website not yet in Prospects gets a new prospect workspace. own is the earlier name for my_business and is still accepted. Left out, a run in a workspace is recorded by the workspace (a brand's runs as my_business), a re-check keeps the earlier report's when it fits, and a run in no workspace is recorded as research; the preview says which."New value: +"What the run is for, as the app's five choices name it, and so what it is recorded as. my_business: the account's own website or one of its brands, filed in the brand's workspace when the site matches one, else in no workspace. client: filed in a client workspace; with client_name, the same person may have a new client workspace created for a site no workspace holds. competitor or research: another business, filed in no workspace, or in the client or brand workspace named by client_id or matching the website; never in a prospect workspace. prospect: filed in Prospects; for an owner or admin of an Agency-plan team account, a website not yet in Prospects gets a new prospect workspace. own is the earlier name for my_business and is still accepted. Left out, a run in a workspace is recorded by the workspace (a brand's runs as my_business), a re-check keeps the earlier report's when it fits, and a run in no workspace is recorded as research; the preview says which."
  3. Changed1 schema field changed
    • changedInput schema / properties / confirmation_token / description
      Previous value: -"The token from this tool's preview. Present only on the second call, which starts the run."New value: +"The confirmation code this tool's preview returned. Present only on the second call, which starts the run."
  4. Changed3 schema fields changed
    • changedInput schema / properties / client_id / description
      Previous value: -"The client, prospect or brand workspace to file the run in. It must be a workspace of this account."New value: +"The client, prospect or brand workspace to file the run in. It must be a workspace of this account, and one the file_as choice may be filed in."
    • changedInput schema / properties / file_as / description
      Previous value: -"What the person asked for when no client_id is sent: prospect (filed in Prospects; for an owner or admin of an Agency-plan team account, a website not yet in Prospects gets a new prospect workspace), client (with client_name, the same person may have a new client workspace created for a website no workspace holds), or own (the account's own website or one of its brands: filed in the brand's workspace when the site matches one, else in no workspace; recorded as the account's own business). A run in no workspace without own is recorded as research on another business; the preview says which."New value: +"What the run is for, as the app's five choices name it, and so what it is recorded as. my_business: the account's own website or one of its brands, filed in the brand's workspace when the site matches one, else in no workspace. client: filed in a client workspace; with client_name, the same person may have a new client workspace created for a website no workspace holds. competitor or research: another business, filed in no workspace, or in the client or brand workspace named by client_id or matching the website; never in a prospect workspace. prospect: filed in Prospects; for an owner or admin of an Agency-plan team account, a website not yet in Prospects gets a new prospect workspace. own is the earlier name for my_business and is still accepted. Left out, a run in a workspace is recorded by the workspace (a brand's runs as my_business), a re-check keeps the earlier report's when it fits, and a run in no workspace is recorded as research; the preview says which."
    • changedInput schema / properties / file_as / enum
      Previous value: -[
      -  "client",
      -  "prospect",
      -  "own"
      -]New value: +[
      +  "my_business",
      +  "client",
      +  "competitor",
      +  "research",
      +  "prospect",
      +  "own"
      +]
  5. Changed1 schema field changed
    • changedInput schema / properties / side_a_scores / description
      Previous value: -"The person's own 1-to-10 rating of each area, keyed attribution, tech_stack, conversion, compliance (shown to people as Trust & Security), brand, marketing, advertising, competitors, product and discoverability. An area left out is \"not sure\" and is entered as 5, the intake form's own default."New value: +"The person's own 1-to-10 rating of each pillar, keyed attribution, tech_stack, conversion, compliance (shown to people as Trust & Security), brand, marketing, advertising, competitors, product and discoverability. A pillar left out is \"not sure\" and is entered as 5, the intake form's own default."
  6. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare a non-read-only, non-idempotent, open-world mutation, but the description adds substantial behavior beyond them: the preview creates nothing, quota_exhausted charges nothing, runs take 5 to 10 minutes and send a completion email, and a failed run may be restarted without consuming another included Diagnostic. It also discloses that new prospects and workspaces are not created before confirmation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The two-call rule is front-loaded, but the description is a single dense block of long sentences covering many edge cases such as workspace matching, client groups, and prospects. Most content is relevant, yet the run-on structure makes it harder to scan than it should be for a tool an agent must invoke correctly.

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 an 11-parameter mutation with nested self-ratings, an enum routing choice, and no output schema, the description covers the full lifecycle: preview contents, confirmation, quota limits, run duration, status checking, and workspace creation/filing rules. It leaves little an agent needs to know before making the call.

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 coverage is 100%, so field-level meanings are already well documented. The description still adds useful cross-parameter workflow meaning: confirmation_token is only sent on the second call, earlier_report_id backfills website/name/ratings/budget, file_as determines workspace filing, and client_name, prospect_name, and accept_proposed_group interact only under stated conditions.

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?

The opening sentence gives a specific verb and resource ('Starts a Diagnostic of a website') and scope ('for the signed-in person'), then immediately clarifies the two-call preview/confirmation pattern. That makes it clearly distinct from sibling status and retrieval tools such as get_run_status and list_diagnostics.

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?

The description explains exactly when the first call only returns a preview and when a second call with confirmation_token starts the run, including that any change requires a new preview. It also routes progress checks to get_run_status and gives explicit conditions for quota exhaustion, re-checks, workspace filing, and prospect/client creation.

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