Skip to main content
Glama

Generate AI tracking prompts

generate_ai_visibility_prompts

Generate editable topic and prompt suggestions for AI tracking from the project's shared context. Supply topic to add prompts to a saved topic or to name a new one, or omit it for a new topic the model names. Saved prompts and excludePrompts drafts are left out. Costs credits for one model call. Nothing is saved or collected: review the suggestions, then save them through save_ai_visibility_tracker with the returned topic. For questions people already ask about a keyword, use research_ai_visibility_prompts.

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>",
      "locationCode": "<locationCode>",
      "languageCode": "<languageCode>"
    },
    "name": "generate_ai_visibility_prompts"
  }
}

Input Schema

NameRequiredDescriptionDefault
topicNoA saved topic to add prompts to, or a new topic name. Omit to let the model name a new topic.
projectIdYes
languageCodeYes
locationCodeYes
excludePromptsNo

Output Schema

NameRequiredDescriptionDefault
codeNo
dataNo
metaNo
runIdNo
statusYes
messageNo
recoveryNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only cover readOnly/openWorld/destructive hints; the description adds material facts beyond them: one model call consumes credits, nothing is saved or collected, and saved prompts plus excludePrompts drafts are filtered out. That is exactly the cost and side-effect context an agent needs before invoking a credit-consuming generation.

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 core action and its non-persistent nature are front-loaded, and each sentence carries distinct information (mechanics, exclusions, cost, next step). Dense but nearly every clause earns its place; only the topic-syntax sentence is slightly long.

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?

An output schema exists, so return values need no explanation, and the description covers cost, non-persistence, and the save path. What remains thin is the meaning of the locale parameters in shaping generated prompts, which matters for a localized generation tool.

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 low (20%), so the description must compensate. It clarifies topic's three-way semantics and excludePrompts' exclusion behavior, but says nothing about languageCode or locationCode, and only implies projectId via 'the project's shared context.' Partial compensation for a five-parameter tool.

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 — generate editable topic and prompt suggestions for AI tracking — plus the source of truth (the project's shared context). It explicitly distinguishes itself from save_ai_visibility_tracker and research_ai_visibility_prompts, so an agent can route correctly without opening a schema.

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 explicit when-to-use branches for the topic parameter (saved topic, new named topic, or omit for model-named), names the follow-up tool for persisting results, and names the alternative tool for an already-asked-question workflow. Exclusions are stated rather than inferred.

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.