Skip to main content
Glama
mkroo
by mkroo

generate_ads_txt

Generate the required ads.txt file for your domain. Place it at the root URL to authorize ad sellers and maintain AdSense compliance.

Instructions

Generate ads.txt content for your site. Place this file at your domain root (e.g., example.com/ads.txt).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
accountNoAccount name. Auto-detected if omitted.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It adds a useful behavioral clue: the tool produces content meant to be placed at the domain root, implying it does not publish the file itself. However, it does not disclose whether any authentication, site verification, or other hidden side effects are involved, so the transparency is adequate but incomplete.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short, efficient sentences with no redundancy. The core action is front-loaded, and the placement guidance is a necessary practical detail. Every sentence earns its place.

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 tool with one optional parameter and no output schema, the description is largely sufficient: it states what is generated and where to put it. The main gap is not connecting to verify_ads_txt as a natural follow-up, and not describing the content format beyond 'ads.txt content', but these are minor for this simple 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 100%: the only parameter, account, is already described as auto-detected if omitted. The description adds nothing beyond the schema, so the baseline of 3 applies.

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 ads.txt content for your site.' It is clearly distinct from siblings like verify_ads_txt (verification), generate_report (reporting), and list_* tools (retrieval). The placement hint reinforces the purpose without ambiguity.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives some context: it is for generating ads.txt content and tells where to place the file (domain root). However, it does not explicitly state when to choose this over related tools such as verify_ads_txt, nor mention any prerequisites like site ownership or account requirements. Usage is implied rather than explicitly guided.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.