Skip to main content
Glama

Search resources

search_resources
Read-onlyIdempotent

Searches the linked account's saved resource metadata with combined keyword, tag and topic, type, completion and saved-date filters. Results include a Linko URL for each resource, for citation. get_resource returns any saved source text; metadata is not the full article or book text. Ranked search has a fixed 20-result window, reported by limited and count_is_exact. Calendar dates use the supplied timezone. It suits saved articles, videos, podcasts and books with filters; for the user's own notes, search_notes is the tool, and search is the simple one-query form for both kinds.

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_resources"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoResults per page, 1 to 20 (default 10).
orderNorelevance (the default) ranks by match to keyword; recent lists the newest first; oldest lists the oldest first.relevance
offsetNoResults to skip, 0 to 100000 (default 0); a page reports next_offset, the value for the following page.
keywordNoWords to find in resource titles, authors and descriptions, at most 300 characters. Omitted, resources are listed by the other filters.
days_agoNoOnly resources saved in the last N days, 1 to 36500. It is not combined with start_date and end_date.
end_dateNoLast day of the date range (inclusive), YYYY-MM-DD; start_date is required with it.
finishedNotrue returns only resources the user marked finished; false only those not started. Omitted, both.
timezoneNoIANA timezone name for date filters and returned times, such as UTC (the default), Europe/London or America/New_York.UTC
start_dateNoFirst day of a date range, YYYY-MM-DD, in timezone. end_date is required with it, and days_ago is not combined with it.
subject_idNoExact tag or topic ID from list_tags_and_topics or an earlier result; it settles a name that matches several tags or topics.
subject_nameNoName of a tag or topic in the user's library; only items carrying it are returned. list_tags_and_topics lists the names. An unknown name is an error that names it.
resource_typeNoOnly resources of this type. online_course is a course; post is a social media post.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed29 schema fields changed
    • changedInput schema / properties / days_ago / anyOf
      Previous value: -[
      -  {
      -    "type": "integer"
      -  },
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "maximum": 36500,
      +    "minimum": 1,
      +    "type": "integer"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / days_ago / description
      Added value: +"Only resources saved in the last N days, 1 to 36500. It is not combined with start_date and end_date."
    • changedInput schema / properties / end_date / anyOf
      Previous value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "format": "date",
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / end_date / description
      Added value: +"Last day of the date range (inclusive), YYYY-MM-DD; start_date is required with it."
    • changedInput schema / properties / finished / anyOf
      Previous value: -[
      -  {
      -    "type": "boolean"
      -  },
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "type": "boolean"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / finished / description
      Added value: +"true returns only resources the user marked finished; false only those not started. Omitted, both."
    • changedInput schema / properties / keyword / anyOf
      Previous value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "maxLength": 300,
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / keyword / description
      Added value: +"Words to find in resource titles, authors and descriptions, at most 300 characters. Omitted, resources are listed by the other filters."
    • removedInput schema / properties / limit / anyOf
      Removed value: -[
      -  {
      -    "type": "integer"
      -  },
      -  {
      -    "type": "string"
      -  }
      -]
    • addedInput schema / properties / limit / description
      Added value: +"Results per page, 1 to 20 (default 10)."
    • addedInput schema / properties / limit / maximum
      Added value: +20
    • addedInput schema / properties / limit / minimum
      Added value: +1
    • addedInput schema / properties / limit / type
      Added value: +"integer"
    • removedInput schema / properties / offset / anyOf
      Removed value: -[
      -  {
      -    "type": "integer"
      -  },
      -  {
      -    "type": "string"
      -  }
      -]
    • addedInput schema / properties / offset / description
      Added value: +"Results to skip, 0 to 100000 (default 0); a page reports next_offset, the value for the following page."
    • addedInput schema / properties / offset / maximum
      Added value: +100000
    • addedInput schema / properties / offset / minimum
      Added value: +0
    • addedInput schema / properties / offset / type
      Added value: +"integer"
    • addedInput schema / properties / order / description
      Added value: +"relevance (the default) ranks by match to keyword; recent lists the newest first; oldest lists the oldest first."
    • changedInput schema / properties / resource_type / anyOf
      Previous value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "enum": [
      +      "book",
      +      "article",
      +      "post",
      +      "video",
      +      "podcast",
      +      "tool",
      +      "online_course",
      +      "other"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / resource_type / description
      Added value: +"Only resources of this type. online_course is a course; post is a social media post."
    • changedInput schema / properties / start_date / anyOf
      Previous value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "format": "date",
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / start_date / description
      Added value: +"First day of a date range, YYYY-MM-DD, in timezone. end_date is required with it, and days_ago is not combined with it."
    • changedInput schema / properties / subject_id / anyOf
      Previous value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "maxLength": 1024,
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / subject_id / description
      Added value: +"Exact tag or topic ID from list_tags_and_topics or an earlier result; it settles a name that matches several tags or topics."
    • changedInput schema / properties / subject_name / anyOf
      Previous value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "maxLength": 300,
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / subject_name / description
      Added value: +"Name of a tag or topic in the user's library; only items carrying it are returned. list_tags_and_topics lists the names. An unknown name is an error that names it."
    • addedInput schema / properties / timezone / description
      Added value: +"IANA timezone name for date filters and returned times, such as UTC (the default), Europe/London or America/New_York."
    • addedInput schema / properties / timezone / maxLength
      Added value: +80
  2. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so safety is covered. The description adds genuinely new behavior: results carry a Linko URL for citation, ranked search has a fixed 20-result window signalled by limited and count_is_exact, and calendar dates resolve in the supplied timezone. Only minor point held back is that limited/count_is_exact likely also appear in the output schema.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three dense sentences with no filler: scope and filters first, then result/citation behavior, then routing to alternatives. Front-loaded and every clause carries information an agent needs.

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?

A 12-parameter tool with an output schema and full annotations is well served here: the description covers scope, filter combination, pagination window, citation URLs, timezone semantics and sibling alternatives. Nothing material for correct invocation is missing.

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 every parameter including days_ago, subject_id vs subject_name, finished and resource_type is already documented in the schema. The description contributes little parameter-specific meaning beyond reinforcing that date filters use the supplied timezone, which the schema also states. Baseline 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 ('Searches the linked account's saved resource metadata') plus the exact filter axes it combines: keyword, tag/topic, type, completion and saved date. It also names its siblings and what they cover ('for the user's own notes, search_notes is the tool, and search is the simple one-query form'), so an agent can separate it from both without opening either 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?

Gives explicit routing rules: this tool for saved articles, videos, podcasts and books with filters; search_notes for the user's own notes; search for the simple one-query form across both. It also implicitly clarifies that get_resource is for full source text, not metadata, so the alternative for reading content is named too.

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