Skip to main content
Glama
Ads.txt MCP Server

Ads.txt MCP Server

by miyaichi

get_seller_by_id

Search a sellers.json file by seller ID to retrieve seller details, including seller type and confidentiality status for a given ad system domain.

Instructions

Search for a specific seller ID in an ad system's sellers.json. Returns seller details including type and confidentiality status.

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>",
      "seller_id": "<seller_id>"
    },
    "name": "get_seller_by_id"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainYesAd system domain
seller_idYesSeller ID to search

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden. It does disclose the return payload shape ('type and confidentiality status'), which is genuinely useful, but it omits whether this is a read-only lookup, whether it fetches over the network or from cache, and what happens when the seller ID is absent.

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 sentences, front-loaded with the lookup action and the data source, followed by return content. No padding, though 'Search for' is slightly weaker than a direct 'Look up'.

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 simple two-required-parameter lookup, the essentials of action and returned fields are covered. With no annotations and no output schema, however, the not-found case and the caching/network dependency that matter for sellers.json lookups go unaddressed.

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%, so both parameters are already documented in the schema. The description adds only a thin gloss ('ad system's sellers.json') linking domain and seller_id to the resource being searched, with no format, case-sensitivity, or validation detail.

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: locate a single seller ID inside a named ad system's sellers.json. Implicitly distinguishes itself from the batch/list siblings by emphasizing 'a specific seller ID', but it never names get_sellers_json or search_sellers_batch, so differentiation is inferential rather than explicit.

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 single-seller framing implies the use case (one known seller ID) versus the batch siblings, but there is no explicit when-to-use, no prerequisites (does the domain need a fetched sellers.json first?), and no stated alternative when the ID is unknown.

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