Skip to main content
Glama

Yellowhead Digital agent door

Re-run a Diagnostic

run_diagnostic

Requests a new Diagnostic of the same website and business as an earlier one (prior_diagnostic_id), reusing that run's answers. Available only on a connection an account admin set up in the Yellowhead app and allowed to make this request; a connection made through an assistant's sign-in cannot make it, on any plan. The website, business and account cannot be changed here. The owner's 1-to-10 area ratings (side_a_scores) and the spend figures can optionally be updated: anything not sent keeps the earlier run's value, and the approver sees each change beside the earlier value. A run is always held for an account admin to approve in the Yellowhead app, whatever the connection's settings; the result is {status: 'pending_approval', approval_id}. It uses one of the account's included monthly Diagnostics while any remain (get_usage shows how many). Once those are used, a plan that offers additional Diagnostics pays the published per-run rate from the account's prepaid balance, and any other plan is refused. Which of the two applies is decided when the run is requested and checked again at approval; if it changed in between, the run is refused rather than charged differently. After approval a run takes 5 to 10 minutes: get_approval_status gives the new Diagnostic's id and get_diagnostic its progress. Only accounts enabled for runs requested from an assistant can use this tool.

Input Schema

NameRequiredDescriptionDefault
budgetNoOptional. Stated monthly marketing tools/software spend, whole US dollars. Without an override the prior run's stated figure is replayed, or 0 if it never stated one.
side_a_scoresNoOptional. Per-pillar self-assessment overrides, merged over the prior run's scores — omitted pillars keep their prior value. Whole numbers 1–10; unknown pillar names are refused, not ignored. (`web_seo` is the legacy alias for `discoverability`; prefer the latter.)
digital_share_pctNoOptional. Digital share of total media spend: 100 = all digital, 1–99 = partial. This SCALES UP rather than parting out: advertising_budget_digital must carry the DIGITAL amount, never the total, because the total is derived from it as digital / (share/100). Omit this field when unknown; the total is then never fabricated.
advertising_budgetNoOptional. Total monthly media spend, whole US dollars.
prior_diagnostic_idYesThe diagnostic whose intake this run replays. Must belong to your organization.
advertising_platform_feesNoOptional. Monthly ad platform / management fees, whole US dollars.
advertising_budget_digitalNoOptional. Monthly DIGITAL ad spend, whole US dollars.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Goes well beyond the annotations: every run is held for admin approval regardless of connection settings, returns {status: 'pending_approval', approval_id}, consumes one included monthly Diagnostic before falling back to per-run prepaid billing or outright refusal, and billing mode is re-checked at approval with refusal on drift. Turnaround of 5–10 minutes is disclosed. It does not address what happens to duplicate submissions or how to cancel a pending run, which keeps it off a 5.

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 prior_diagnostic_id before the eligibility and billing rules. It is a single dense paragraph of long sentences; the permission and billing clauses are necessary but could be split into shorter statements for faster scanning.

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 mutation tool with 7 parameters, nested objects, no output schema and open-world/non-idempotent annotations, the description covers eligibility, mutation limits, billing, approval flow, expected latency and follow-up tools. An agent has everything needed to decide and call correctly.

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 a baseline of 3 applies, but the description adds real meaning: omitted side_a_scores and spend fields replay the prior run's values, and the approver sees each change beside the earlier value — a semantic the schema's "merged over the prior run's scores" only partly conveys. The billing note on which fields matter is useful context too.

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 ("Requests a new Diagnostic") plus the scope that separates it from its sibling start_diagnostic: it replays an earlier run's intake via prior_diagnostic_id rather than starting fresh. The immutable dimensions (website, business, account) are named explicitly.

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 layered when-to-use and when-not-to-use conditions: only on an admin-created Yellowhead connection explicitly allowed to make this request, never on an assistant sign-in connection, and only for accounts enabled for assistant-requested runs. It also names the wrong-tool cases indirectly (site/business/account cannot be changed here) and points to get_usage, get_approval_status and get_diagnostic for the surrounding workflow.

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