Skip to main content
Glama

list_domains

Return domains filtered by subscriber category and minimum count from a CSV export, so you can drill into a specific audience segment after analyzing subscribers.

Instructions

Return domains filtered by category. Useful for drilling into a specific segment after running analyze_subscribers.

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": {
      "csv_path": "<csv_path>"
    },
    "name": "list_domains"
  }
}

Input Schema

NameRequiredDescriptionDefault
categoryNoWhich category of domains to return (default: 'all').
csv_pathYesAbsolute path to the subscriber CSV file.
min_countNoOnly return domains with at least this many subscribers (default: 1).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. The verb "Return" implies a read-only, non-destructive operation and category filtering hints at the result shape, but nothing is said about ordering, result size, error behavior, or that csv_path is only read, not modified.

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 short sentences with no padding, and the core purpose is front-loaded ahead of the usage hint. The second sentence is slightly soft ("useful for") but still earns its place by naming the upstream tool.

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 three-parameter listing tool with full schema coverage, the definition covers purpose and sequencing adequately. With no annotations and no output schema, however, it never indicates what a returned domain entry contains or how results are ordered, leaving an agent guessing about the response.

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 all three parameters, including the category enum and its default, are already documented. The description adds only the notion of category filtering, which is redundant with the schema; baseline 3 applies.

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?

"Return domains filtered by category" states a specific verb (return) and resource (domains) plus the filtering dimension. It is easy to tell apart from analyze_subscribers and find_notable_emails, though the distinction rests on the usage sentence rather than the purpose sentence itself.

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

Usage Guidelines4/5

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

It explicitly positions itself as a follow-up drill-down step after analyze_subscribers, which tells an agent when to reach for it. There are no stated exclusions or conditions for when not to use it, keeping it just short of a 5.

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