Skip to main content
Glama
Ads.txt MCP Server

Ads.txt MCP Server

by miyaichi

get_adstxt_cache

Retrieve cached ads.txt content for a publisher domain from the database, with an option to force a refresh from the source.

Instructions

Retrieve cached ads.txt content for a domain from the database. Optionally force refresh from source.

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": {
      "domain": "<domain>"
    },
    "name": "get_adstxt_cache"
  }
}

Input Schema

NameRequiredDescriptionDefault
forceNoForce refresh from source (default: false)
domainYesPublisher domain

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/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 behavioral burden. It usefully discloses the caching layer and the force-refresh escape hatch, but says nothing about what happens on a cache miss, whether the refresh is network-bound or rate-limited, or what the caller receives back.

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?

Two tight sentences with no waste, and the core action is front-loaded before the optional refresh behavior. It could still be slightly sharper about the cache/source relationship, but nothing is padding.

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

Completeness3/5

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

For a 2-parameter read tool with no output schema and no annotations, the definition covers the basic operation but leaves gaps: cache-miss behavior, staleness, and error conditions are unstated. It is adequate to attempt a call but not to predict results.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the schema already documents both domain and force, including the default and the exact phrasing 'Force refresh from source'. The description's sentence about forcing a refresh merely restates the schema's parameter description and adds no new meaning such as cache staleness semantics.

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?

States a specific verb and resource: retrieve cached ads.txt content for a domain from the database, plus a source-refresh variant. An agent can tell this is a cached-read tool rather than an optimization or validation tool, though it never names a sibling explicitly to sharpen the boundary.

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 only implied: read the cache normally, or set force=true to bypass it. There is no statement about when this is preferable to validate_adstxt, optimize_adstxt, or get_sellers_json, and no prerequisites or exclusions are given.

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