Skip to main content
Glama

AppPage.net - app websites & store data

Set a site's app-ads.txt

set_app_ads_txt
Destructive

Write the app-ads.txt file served at https://{subdomain}.apppage.net/app-ads.txt, which ad networks (AdMob and others) check against the developer website in the store listing. One record per line: ad system domain, publisher account id, DIRECT or RESELLER, optional certification id, e.g. "google.com, pub-1234567890123456, DIRECT, f08c47fec0942fa0". The lines are checked first; nothing is saved if any has an error. mode=append adds only the records that aren't there yet.

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": {
      "site": "<site>",
      "content": "<content>"
    },
    "name": "set_app_ads_txt"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNoreplace (default) the whole file, or append the new records.
siteYesYour site: its address ("habitly" for habitly.apppage.net) or id, as list_my_sites returns.
contentYesThe app-ads.txt lines.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, and openWorldHint=true, so the safety profile is covered; the description adds real context beyond that. It discloses the validation behavior and its atomicity ('The lines are checked first; nothing is saved if any has an error') and clarifies that append only adds missing records, which is exactly the kind of behavioral detail annotations cannot express.

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?

Four sentences, front-loaded with the target URL and purpose, then format, then validation, then mode behavior. Dense but every sentence carries information; the only mild overhead is the parenthetical justification about which ad networks check the file, which is context rather than instruction.

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 three-parameter write tool with full schema coverage, no nested objects, and no output schema, the definition covers purpose, input format, validation/failure behavior, and mode semantics. Minor unaddressed gaps remain: what the call returns on success and any permission or ownership requirements for the site.

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 description coverage is 100%, so a 3 is the floor, but the description earns more: it specifies the line grammar for content (ad system domain, publisher account id, DIRECT or RESELLER, optional certification id) with a concrete example, and it explains append semantics better than the schema's 'append the new records' phrasing.

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 description names a specific verb (write/set) and resource (app-ads.txt served at https://{subdomain}.apppage.net/app-ads.txt), plus the downstream consumer (ad networks checking against the store-listing developer website). That is enough for an agent to distinguish it from siblings like set_app_links, update_site, or set_page without opening any schema.

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?

Usage is implied rather than stated: the agent can infer it should call this when a site needs an app-ads.txt file, and the append-mode sentence hints at incremental updates. But there is no explicit when-to-use / when-not-to-use guidance and no routing to alternatives such as set_app_links for related configuration.

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