Skip to main content
Glama

Estimate AI visibility cost

estimate_ai_visibility_cost
Read-onlyIdempotent

Estimate one scheduled check, one-off check, and the monthly cost of a daily, weekly, or monthly schedule without collecting answers. Optional patch estimates proposed settings; promptIds estimates a check of those prompts. costUsd prices each scheduled check. runNowCostUsd prices a one-off check, which collects live answers within minutes at a higher price. Show the customer the relevant cost before enabling tracking or running a paid check, and pass the approved runNowCostUsd to run_ai_visibility_check as maxCostUsd.

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

Input Schema

NameRequiredDescriptionDefault
patchNoOptional proposed changes to estimate before saving.
projectIdYes
promptIdsNo
scheduleIntervalNoCadence for the monthly cost estimate. Defaults to the saved schedule, or weekly.

Output Schema

NameRequiredDescriptionDefault
codeNo
dataNo
metaNo
runIdNo
statusYes
messageNo
recoveryNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint/idempotentHint/non-destructive, so safety is covered. The description adds genuinely new behavior: estimating collects no answers, while a one-off run collects live answers 'within minutes at a higher price,' and it explains which output field prices which scenario. It stops short of noting any quota or rate-limit behavior, so not 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 capability, then output-field meanings, then the workflow instruction – a sensible order with no filler. It is telegraphic in places ('Optional patch estimates proposed settings') and the costUsd/runNowCostUsd sentences run together, but every sentence carries information.

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

Completeness4/5

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

For a read-only estimator with a deeply nested patch object and an existing output schema, the description covers purpose, cost-field interpretation, and the run_ai_visibility_check handoff. The only gap is that it doesn't say whether an estimate requires any prior tracker configuration, which matters given patch describes unsaved proposed changes.

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?

With only 50% schema description coverage, the description compensates by explaining that patch means 'proposed settings' to estimate and that promptIds scopes the estimate to a check of those prompts – the two non-obvious optional inputs. projectId and scheduleInterval are left to the schema, but their schema descriptions are adequate.

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 (estimate) plus the exact resources priced: one scheduled check, one-off check, and monthly cost for daily/weekly/monthly cadence. The clause 'without collecting answers' separates it cleanly from run_ai_visibility_check, which actually collects live answers.

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 an explicit when: 'Show the customer the relevant cost before enabling tracking or running a paid check.' It also names the downstream alternative and the handoff contract – pass the approved runNowCostUsd to run_ai_visibility_check as maxCostUsd – so the agent knows both the trigger and the next step.

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