Skip to main content
Glama

Goppa

Measure whether AI names your site

run_ai_measurement

Measure whether AI assistants (ChatGPT, Gemini, Google AI Overview, Google AI Mode, Perplexity) name one of your sites, with real answers. Called without approval it returns a preview that runs nothing: the questions, the market, the engines and an approval code. Show the questions to the user and call it again with that approval only after they agree: the measurement then runs in the background for a few minutes and counts as one of the AI measurements your account includes. get_ai_visibility shows the result. Nothing on your site changes.

Input Schema

NameRequiredDescriptionDefault
siteNoOne of your sites in Goppa, by domain (example.com). Required when the account has more than one site: without it, the answer lists the sites to choose from. With a single site it can be left out.
marketNoWhere to ask, as a country code (uk, us, de, fr…) or a region (eu, global). Without it, the market of the site's earlier measurements or the one Goppa detected.
approvalNoThe approval code from the preview, sent only after the user agreed to the questions. Without it, only the preview.
categoriesNoThe products or services to ask about, like 'running shoes' (3 to 35 characters each). Without it, the categories on the site. Categories saved in Goppa's settings come first.

Output Schema

NameRequiredDescriptionDefault
siteNo
as_ofNo
errorNo
savedNo
stateNo
marketNo
periodNo
reasonNo
sampleNo
enginesNo
missingNo
partialNo
previewNo
startedNo
summaryNo
approvalNo
languageNo
availableNo
questionsNo
times_eachNo
data_statusNo
market_nameNo
next_actionNo
evidence_idsNo
requested_atNo
site_requiredNo
workspace_urlNo
already_runningNo
approval_changedNo
ready_in_minutesNo
sites_in_accountNo
answers_per_engineNo
already_measured_todayNo
measurements_this_monthNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations (which only flag a non-readonly, non-idempotent, open-world call), the description discloses that the preview runs nothing, that the approved call executes in the background for several minutes, that it consumes one of the account's allotted AI measurements, and that the site itself is unchanged. These are the exact quota, latency, and side-effect facts an agent needs and annotations cannot convey.

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?

The purpose is front-loaded and the closing reassurance ('Nothing on your site changes') earns its place, but the middle sentences are long and pack the preview/approval/workflow rules into dense clauses that could be broken apart 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?

The tool has an output schema, full parameter documentation, and meaningful annotations; the description still covers the quota cost, async runtime, user-approval requirement, and next-step tool. Nothing an agent needs in order to invoke it correctly is missing.

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 each parameter is thoroughly documented there, so the description only reinforces the approval parameter's preview-to-run relationship. With the schema doing the heavy lifting, the baseline 3 applies; the description adds no format or syntactic detail beyond it.

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 first sentence states a specific verb and resource ('measure whether AI assistants name one of your sites') and names the five engines covered. It also explicitly separates this tool from the sibling that reports results ('get_ai_visibility shows the result'), so an agent can distinguish them without opening schemas.

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?

It gives an explicit two-call protocol: call without approval for a preview, show the questions to the user, then call again with the approval code only after they agree. It also names the follow-up tool (get_ai_visibility) for retrieving the outcome, leaving no routing decision to inference.

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