Skip to main content
Glama

datasets_substack_search

Read-only

Search stored Substack writer profiles and publications by q, kind, identifier, or publication language. Returns a page of validated public snapshots with uid and hydrated_at; default 20 records, max 100. Coverage is incomplete and snapshots are not periodically revalidated. Costs one credit per returned record, minimum two. Use datasets_substack_item with an exact uid or datasets_substack_facets to discover filter values.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "datasets_substack_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNoOptional full-text query over public profile/publication name, handle, bio, subdomain, custom domain and hero text; max 256 characters.
kindNoOptional record kind. Allowed values: user, publication.
pageNoResult page number, 1-based, default 1; page times page_size must not exceed 10000.
sortNoOptional sort order. Allowed values: relevance, name_asc, hydrated_at_desc, hydrated_at_asc. Defaults to relevance with q, otherwise hydrated_at_desc.
languageNoOptional exact publication language filter; use facet=language to discover stored values.
page_sizeNoPage size, default 20, max 100; page times page_size must not exceed 10000.
identifierNoOptional exact Substack profile handle or publication host from a dataset row, max 253 characters.

Output Schema

NameRequiredDescriptionDefault
dataYesThe tool result payload (shape varies per tool; see each tool's docs resource).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the readOnly/openWorld/idempotent annotations by disclosing that coverage is incomplete, snapshots are not periodically revalidated, and each returned record costs one credit with a two-credit minimum. That cost and staleness disclosure is exactly the kind of behavior an agent cannot infer from structured fields.

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, each carrying distinct payload: purpose, return shape and pagination, coverage caveats, cost, then sibling routing. Front-loaded and free of filler, though the 'uid and hydrated_at' return detail partially duplicates the output schema.

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

Completeness5/5

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

For a zero-required-parameter search tool with full schema coverage, annotations, and an output schema, the description covers everything an agent still needs: cost model, staleness of snapshots, pagination bounds, and where to go for exact-item lookup or facet discovery.

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 seven parameters already carry their own semantics, including enum-like allowed values and the page*page_size ceiling. The description adds little parameter-specific meaning beyond restating default 20 / max 100 and listing which fields are searchable, 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 ('Search stored Substack writer profiles and publications') and enumerates the filter dimensions (q, kind, identifier, language), so the agent knows exactly what corpus is being queried. It also names two sibling tools by name, which separates it from the item-lookup and facet-discovery paths without the agent opening another schema.

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?

Explicitly routes the agent: use datasets_substack_item with an exact uid, and datasets_substack_facets to discover filter values, plus a note that facet=language reveals stored language values. It gives no exclusion criteria for other lookalike search siblings, so it stops short of full when/when-not coverage.

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.