Skip to main content
Glama

hedwigai

SEO and AI search

how_a_site_ranks_on_google_and_ai

What ChatGPT, Gemini and Google's AI answers say and cite, Google rank for a keyword, search volume, site traffic estimates, Google Trends, and asking search engines to index pages.

Programs:

  • trends: Google Trends on web search or YouTube, autocomplete, and Wikipedia page views — free.

  • search-index: Ask Google, Bing (ChatGPT search, Copilot) and the IndexNow engines to index your pages in one step, see what crawlers are missing on your site, and read your own Search Console.

  • traffic: Estimated monthly Google organic visits for up to 1,000 domains at once, with the month and source.

  • rank: Keyword position on Google, and who is above you.

  • keywords: How many people search a phrase on Google each month, and the phrases people search near it.

  • aeo: What ChatGPT, Gemini, AI Mode, Bing AI Mode and Google's AI Overview answer to a question, and which sites they cite.

Runs the program in this account's hedwigai shell, as bash runs <program> <args>. Leave args empty for the program's usage first. Metered programs draw on the account's balance; a program that is off answers how to turn it on.

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": {
      "program": "<program>"
    },
    "name": "how_a_site_ranks_on_google_and_ai"
  }
}

Input Schema

NameRequiredDescriptionDefault
argsNoThe program's arguments, as on its command line, e.g. `recent 'robotics'` for funding. Empty prints its usage.
programYesWhich program to run.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Beyond the annotations, the description discloses that execution happens in the account's hedwigai shell with `<program> <args>` semantics, that metered programs draw on the account balance, and that a disabled program returns instructions for enabling it. That is meaningful operational context the annotations (readOnlyHint=false, openWorldHint=true, idempotentHint=false, destructiveHint=false) do not supply. It does not describe the shape of returned data or latency/limits, which is a remaining gap for a metered open-world tool.

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?

Structure is good: capability headline, a scannable bullet list of the six programs, then a short block of execution and billing notes. Nearly every line carries information. The opening sentence is a long comma-chained list without a governing verb, which slightly hurts front-loading.

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 two-parameter dispatcher with no output schema, the description covers what matters: what each program yields, how arguments are passed, that empty args prints usage, and the metering/enablement behavior. What an agent cannot learn is the concrete return format per program, though per-program argument syntax is deliberately delegated to the empty-args usage output.

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 baseline is 3, and the description clearly exceeds it by explaining what each enum value does rather than just listing allowed strings. The `args` explanation largely restates the schema and its example, adding little new meaning. Net value comes almost entirely from the program-by-program annotations.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names the concrete resources precisely: AI answer citations from ChatGPT/Gemini/AI Overview, Google rank for a keyword, search volume, traffic estimates, Trends data, and index requests. The opening sentence is a capability dump rather than a single verb+resource, but the six enumerated programs make the scope unambiguous. It does not explicitly differentiate itself from the `bash` sibling it borrows an analogy from.

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?

Each program line effectively encodes when to pick it: `rank` for keyword position, `keywords` for volume, `traffic` for domain visits, `aeo` for AI answers, `search-index` for indexing, `trends` for free trend data. It also gives the practical discovery instruction that leaving `args` empty prints the program's usage first. It stops short of explicit exclusions or naming sibling alternatives such as `ask` or `bash`.

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.