Skip to main content
Glama

Search library sources

search_sources
Read-onlyIdempotent

Find third-party library source cards. This is the only library lookup: text, exact filters, and newest-first browsing. Output is { count, sources }. Each source has id, title, publisher, authors, date_published (YYYY-MM-DD or null), url, type, category, status, summary, tags, verified_at, and featured only when it is true. count is the rows returned, not the catalog size. query words must all match as case-insensitive substrings of id, title, summary, publisher, type, authors, or tags. category, tag, type, status, featured, and updated_since are AND filters. Omit query to list the newest sources, optionally in one category. Results are newest date_published first, undated last. limit is 1-50 (default 10) with no offset. No matches returns count 0 and sources []. A non-calendar updated_since, or an unknown category, returns an isError result. A status outside the enum is invalid input. A failed library read returns isError whose text is the Error message. Use get_source instead when you already have a source id. Use list_categories instead when you need category ids, labels, and counts rather than source cards. Use list_changes instead when you need the unpaged cross-catalog changelog rather than source cards. Use get_protocol_facts instead when you need cited facts for a payment protocol. Use list_articles instead for this site's own articles. Free, no auth.

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": "search_sources"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagNoOne tag, exact match, e.g. l402. Combined with the other filters (AND).
typeNoSource type from the enum, e.g. spec. Combined with the other filters (AND).
limitNoMaximum rows, 1-50, default 10. Values above 50 are rejected. There is no offset; narrow the filters to see other matches.
queryNoSpace-separated words; every word must match (AND), case-insensitive substring of id, title, summary, publisher, type, authors, or tags. Example: lightning l402. Omit or use an empty string to skip the text filter.
statusNoExact library status: proposal, individual_draft, working_group_draft, standard, spec_released, product_docs, news, research, or unknown. Combined with the other filters (AND).
categoryNoCategory id from list_categories, e.g. bitcoin-lightning. Combined with the other filters (AND). Omit for every category.
featuredNotrue returns only featured sources. Omit or false to include all.
updated_sinceNoYYYY-MM-DD calendar date. Keeps sources whose verified_at is later than this date (exclusive). A value that is not that form returns an isError result. Example: 2026-10-01.

Output Schema

NameRequiredDescriptionDefault
countYes
sourcesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / sources / items / properties / status / default
      Added value: +"unknown"
    • changedOutput schema / properties / sources / items / required
      Previous value: -[
      -  "id",
      -  "title",
      -  "publisher",
      -  "authors",
      -  "date_published",
      -  "url",
      -  "type",
      -  "category",
      -  "status",
      -  "summary",
      -  "tags",
      -  "verified_at"
      -]New value: +[
      +  "id",
      +  "title",
      +  "publisher",
      +  "authors",
      +  "date_published",
      +  "url",
      +  "type",
      +  "category",
      +  "summary",
      +  "tags",
      +  "verified_at"
      +]
  2. Changed3 schema fields changed
    • addedInput schema / properties / status
      Added value: +{
      +  "description": "Exact library status: proposal, individual_draft, working_group_draft, standard, spec_released, product_docs, news, research, or unknown. Combined with the other filters (AND).",
      +  "enum": [
      +    "proposal",
      +    "individual_draft",
      +    "working_group_draft",
      +    "standard",
      +    "spec_released",
      +    "product_docs",
      +    "news",
      +    "research",
      +    "unknown"
      +  ],
      +  "type": "string"
      +}
    • addedOutput schema / properties / sources / items / properties / status
      Added value: +{
      +  "enum": [
      +    "proposal",
      +    "individual_draft",
      +    "working_group_draft",
      +    "standard",
      +    "spec_released",
      +    "product_docs",
      +    "news",
      +    "research",
      +    "unknown"
      +  ],
      +  "type": "string"
      +}
    • changedOutput schema / properties / sources / items / required
      Previous value: -[
      -  "id",
      -  "title",
      -  "publisher",
      -  "authors",
      -  "date_published",
      -  "url",
      -  "type",
      -  "category",
      -  "summary",
      -  "tags",
      -  "verified_at"
      -]New value: +[
      +  "id",
      +  "title",
      +  "publisher",
      +  "authors",
      +  "date_published",
      +  "url",
      +  "type",
      +  "category",
      +  "status",
      +  "summary",
      +  "tags",
      +  "verified_at"
      +]
  3. Added

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already cover read-only/idempotent/non-destructive, but the description adds real behavioral detail beyond them: newest-first ordering with undated last, limit 1-50 with no offset, empty-match returning count 0, and specific isError triggers for malformed updated_since, unknown category, invalid status, and failed library reads. It also notes 'Free, no auth.' Only the error-text format is stated at a high level rather than in detail.

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?

Front-loaded with purpose and the sibling-routing rules before the field/error detail, and nearly every sentence carries operational information. Minor waste: the full output field list is spelled out even though an output schema exists, and the status enum is restated redundantly.

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 an 8-parameter, zero-required search tool, it covers filtering semantics, ordering, paging limits, empty results, and error cases, plus disambiguation from five siblings. Nothing an agent needs to call it correctly is missing.

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 coverage is 100%, so the baseline is 3; the description earns extra credit by documenting cross-parameter behavior the schema does not (all filters combine as AND, query words are AND-matched substrings across specific fields, updated_since is exclusive on verified_at, featured is true-only). Some of this restates schema text, but the interaction semantics add genuine value.

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 ('Find third-party library source cards') and immediately scopes it as 'the only library lookup: text, exact filters, and newest-first browsing.' An agent can distinguish it from get_source, list_categories, and list_changes 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 Guidelines5/5

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

Explicitly routes to alternatives with conditions: get_source when you have an id, list_categories for category ids/labels/counts, list_changes for the unpaged changelog, get_protocol_facts for cited protocol facts, list_articles for this site's own articles. It also states the positive case (omit query to browse newest, optionally one category).

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