Skip to main content
Glama

Search library content and reading history

list_library
Read-only

Search this account's articles, websites, books, emails, PDFs, social posts, videos, podcast episodes, and documents. For a normal text search, pass only query and limit. "Triage my inbox" is {"status":"inbox","limit":10}; "saved this week" is {"saved_after":"7d"}. Matching is shared with app search and REST, including spelling recovery (approximate=true). Optional filters are combined with AND: omit every filter the user did not explicitly request. Filter by exact tag, kind, capture method, format, or lifecycle; set view=history for recently read items. Items are ordered by most recent status change first (history view: last read first); continue with nextCursor. Item IDs select later tools and are not smry.ai routes; cite only each exact returned source URL.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tagNoReturn only items carrying this tag, matching without regard to case or surrounding spaces.
viewNoSet history for reading history, the only way to read it; defaults to all saved items.
limitNoMaximum items to return, from 1 to 100. Defaults to 50, and is capped at 20 with includeContent.
queryNoFull-text search over saved titles and text; omit to list without searching.
cursorNoOpaque page token: pass the previous response's nextCursor verbatim and never construct one.
formatNoReturn only items stored in this format, such as html, pdf, or epub.
statusNoReturn only items in this triage status: inbox, later, or archive.
starredNoSet true for starred items only, or false for unstarred items only.
external_idNoReturn only the item saved under this external id from your own system.
saved_afterNoItems saved after this time: "7d", "36h", "now", or an ISO date. Use for "saved this week".
content_kindNoReturn only items of this content kind, such as article, pdf, or video.
updated_afterNoItems whose record changed after this time (status, tags, read progress, or a save): "7d", "36h", "now", or an ISO date. For "saved this week" use savedAfter.
capture_methodNoReturn only items captured this way, such as reader, extension, upload, or api.
include_countsNo
include_contentNoInclude each item's stored article text. Defaults to false.
include_metadataNoInclude the free-form metadata object saved through the API. Everything else is always returned.
content_max_charactersNoMaximum characters of text per item when includeContent is set, from 500 to 12000. Defaults to 4000.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemsYes
countsNo
nextCursorYes
approximateNo
matchedTermsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed17 schema fields changed
    • addedInput schema / properties / capture_method / description
      Added value: +"Return only items captured this way, such as reader, extension, upload, or api."
    • addedInput schema / properties / content_kind / description
      Added value: +"Return only items of this content kind, such as article, pdf, or video."
    • addedInput schema / properties / content_max_characters / description
      Added value: +"Maximum characters of text per item when includeContent is set, from 500 to 12000. Defaults to 4000."
    • addedInput schema / properties / cursor / description
      Added value: +"Opaque page token: pass the previous response's nextCursor verbatim and never construct one."
    • addedInput schema / properties / external_id / description
      Added value: +"Return only the item saved under this external id from your own system."
    • addedInput schema / properties / format / description
      Added value: +"Return only items stored in this format, such as html, pdf, or epub."
    • addedInput schema / properties / include_content / description
      Added value: +"Include each item's stored article text. Defaults to false."
    • addedInput schema / properties / limit / description
      Added value: +"Maximum items to return, from 1 to 100. Defaults to 50, and is capped at 20 with includeContent."
    • addedInput schema / properties / query / description
      Added value: +"Full-text search over saved titles and text; omit to list without searching."
    • addedInput schema / properties / starred / description
      Added value: +"Set true for starred items only, or false for unstarred items only."
    • addedInput schema / properties / status / description
      Added value: +"Return only items in this triage status: inbox, later, or archive."
    • addedInput schema / properties / tag / description
      Added value: +"Return only items carrying this tag, matching without regard to case or surrounding spaces."
    • addedInput schema / properties / view / description
      Added value: +"Set history for reading history, the only way to read it; defaults to all saved items."
    • addedOutput schema / properties / items / items / allOf
      Added value: +[
      +  {
      +    "additionalProperties": {},
      +    "properties": {
      +      "articleStatus": {
      +        "type": "string"
      +      },
      +      "asset": {
      +        "anyOf": [
      +          {
      +            "additionalProperties": {},
      +            "properties": {
      +              "checksum": {
      +                "type": "string"
      +              },
      +              "downloadUrl": {
      +                "type": "string"
      +              },
      +              "fileName": {
      +                "type": "string"
      +              },
      +              "itemId": {
      +                "description": "UUID that identifies the resource; pass it back exactly as smry returned it.",
      +                "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
      +                "type": "string"
      +              },
      +              "mimeType": {
      +                "type": "string"
      +              },
      +              "resourceUri": {
      +                "type": "string"
      +              },
      +              "size": {
      +                "type": "number"
      +              },
      +              "updatedAt": {
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "itemId",
      +              "fileName",
      +              "mimeType",
      +              "size",
      +              "checksum",
      +              "updatedAt",
      +              "resourceUri",
      +              "downloadUrl"
      +            ],
      +            "type": "object",
      +            "x-smry-component": "LibraryAsset"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "captureMethod": {
      +        "anyOf": [
      +          {
      +            "const": "reader",
      +            "type": "string"
      +          },
      +          {
      +            "const": "extension",
      +            "type": "string"
      +          },
      +          {
      +            "const": "upload",
      +            "type": "string"
      +          },
      +          {
      +            "const": "rss",
      +            "type": "string"
      +          },
      +          {
      +            "const": "email_inbox",
      +            "type": "string"
      +          },
      +          {
      +            "const": "api",
      +            "type": "string"
      +          },
      +          {
      +            "const": "import",
      +            "type": "string"
      +          }
      +        ]
      +      },
      +      "classification": {
      +        "additionalProperties": {},
      +        "properties": {
      +          "confidence": {
      +            "maximum": 100,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "method": {
      +            "anyOf": [
      +              {
      +                "const": "user",
      +                "type": "string"
      +              },
      +              {
      +                "const": "source_adapter",
      +                "type": "string"
      +              },
      +              {
      +                "const": "mime",
      +                "type": "string"
      +              },
      +              {
      +                "const": "extension",
      +                "type": "string"
      +              },
      +              {
      +                "const": "url",
      +                "type": "string"
      +              },
      +              {
      +                "const": "metadata",
      +                "type": "string"
      +              },
      +              {
      +                "const": "legacy",
      +                "type": "string"
      +              },
      +              {
      +                "const": "fallback",
      +                "type": "string"
      +              }
      +            ]
      +          },
      +          "updatedAt": {
      +            "type": "string"
      +          },
      +          "version": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "method",
      +          "confidence",
      +          "version",
      +          "updatedAt"
      +        ],
      +        "type": "object"
      +      },
      +      "contentKind": {
      +        "anyOf": [
      +          {
      +            "const": "article",
      +            "type": "string"
      +          },
      +          {
      +            "const": "website",
      +            "type": "string"
      +          },
      +          {
      +            "const": "book",
      +            "type": "string"
      +          },
      +          {
      +            "const": "email",
      +            "type": "string"
      +          },
      +          {
      +            "const": "pdf",
      +            "type": "string"
      +          },
      +          {
      +            "const": "social_post",
      +            "type": "string"
      +          },
      +          {
      +            "const": "video",
      +            "type": "string"
      +          },
      +          {
      +            "const": "podcast_episode",
      +            "type": "string"
      +          },
      +          {
      +            "const": "document",
      +            "type": "string"
      +          },
      +          {
      +            "const": "unknown",
      +            "type": "string"
      +          }
      +        ]
      +      },
      +      "domain": {
      +        "type": "string"
      +      },
      +      "externalId": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "fileName": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "format": {
      +        "anyOf": [
      +          {
      +            "const": "html",
      +            "type": "string"
      +          },
      +          {
      +            "const": "pdf",
      +            "type": "string"
      +          },
      +          {
      +            "const": "epub",
      +            "type": "string"
      +          },
      +          {
      +            "const": "markdown",
      +            "type": "string"
      +          },
      +          {
      +            "const": "plain_text",
      +            "type": "string"
      +          },
      +          {
      +            "const": "document",
      +            "type": "string"
      +          },
      +          {
      +            "const": "spreadsheet",
      +            "type": "string"
      +          },
      +          {
      +            "const": "presentation",
      +            "type": "string"
      +          },
      +          {
      +            "const": "audio",
      +            "type": "string"
      +          },
      +          {
      +            "const": "video",
      +            "type": "string"
      +          },
      +          {
      +            "const": "unknown",
      +            "type": "string"
      +          }
      +        ]
      +      },
      +      "id": {
      +        "type": "string"
      +      },
      +      "lastReadAt": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "metadata": {
      +        "patternProperties": {
      +          "^(.*)$": {}
      +        },
      +        "type": "object"
      +      },
      +      "mimeType": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "originalUrl": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "readProgress": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "savedAt": {
      +        "type": "string"
      +      },
      +      "starred": {
      +        "type": "boolean"
      +      },
      +      "status": {
      +        "type": "string"
      +      },
      +      "tags": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "title": {
      +        "type": "string"
      +      },
      +      "updatedAt": {
      +        "type": "string"
      +      },
      +      "url": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "id",
      +      "url",
      +      "originalUrl",
      +      "title",
      +      "domain",
      +      "contentKind",
      +      "classification",
      +      "captureMethod",
      +      "format",
      +      "mimeType",
      +      "fileName",
      +      "asset",
      +      "externalId",
      +      "status",
      +      "starred",
      +      "tags",
      +      "savedAt",
      +      "updatedAt",
      +      "lastReadAt",
      +      "readProgress",
      +      "articleStatus"
      +    ],
      +    "type": "object",
      +    "x-smry-component": "LibraryItem"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "article": {
      +        "additionalProperties": {},
      +        "propertyNames": {
      +          "type": "string"
      +        },
      +        "type": "object"
      +      }
      +    },
      +    "type": "object"
      +  }
      +]
    • removedOutput schema / properties / items / items / properties
      Removed value: -{
      -  "article": {
      -    "additionalProperties": {},
      -    "propertyNames": {
      -      "type": "string"
      -    },
      -    "type": "object"
      -  },
      -  "articleStatus": {
      -    "type": "string"
      -  },
      -  "asset": {
      -    "anyOf": [
      -      {
      -        "additionalProperties": {},
      -        "properties": {
      -          "checksum": {
      -            "type": "string"
      -          },
      -          "downloadUrl": {
      -            "type": "string"
      -          },
      -          "fileName": {
      -            "type": "string"
      -          },
      -          "itemId": {
      -            "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
      -            "type": "string"
      -          },
      -          "mimeType": {
      -            "type": "string"
      -          },
      -          "resourceUri": {
      -            "type": "string"
      -          },
      -          "size": {
      -            "type": "number"
      -          },
      -          "updatedAt": {
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "itemId",
      -          "fileName",
      -          "mimeType",
      -          "size",
      -          "checksum",
      -          "updatedAt",
      -          "resourceUri",
      -          "downloadUrl"
      -        ],
      -        "type": "object"
      -      },
      -      {
      -        "type": "null"
      -      }
      -    ]
      -  },
      -  "captureMethod": {
      -    "anyOf": [
      -      {
      -        "const": "reader",
      -        "type": "string"
      -      },
      -      {
      -        "const": "extension",
      -        "type": "string"
      -      },
      -      {
      -        "const": "upload",
      -        "type": "string"
      -      },
      -      {
      -        "const": "rss",
      -        "type": "string"
      -      },
      -      {
      -        "const": "email_inbox",
      -        "type": "string"
      -      },
      -      {
      -        "const": "api",
      -        "type": "string"
      -      },
      -      {
      -        "const": "import",
      -        "type": "string"
      -      }
      -    ]
      -  },
      -  "classification": {
      -    "additionalProperties": {},
      -    "properties": {
      -      "confidence": {
      -        "maximum": 100,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "method": {
      -        "anyOf": [
      -          {
      -            "const": "user",
      -            "type": "string"
      -          },
      -          {
      -            "const": "source_adapter",
      -            "type": "string"
      -          },
      -          {
      -            "const": "mime",
      -            "type": "string"
      -          },
      -          {
      -            "const": "extension",
      -            "type": "string"
      -          },
      -          {
      -            "const": "url",
      -            "type": "string"
      -          },
      -          {
      -            "const": "metadata",
      -            "type": "string"
      -          },
      -          {
      -            "const": "legacy",
      -            "type": "string"
      -          },
      -          {
      -            "const": "fallback",
      -            "type": "string"
      -          }
      -        ]
      -      },
      -      "updatedAt": {
      -        "type": "string"
      -      },
      -      "version": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "method",
      -      "confidence",
      -      "version",
      -      "updatedAt"
      -    ],
      -    "type": "object"
      -  },
      -  "contentKind": {
      -    "anyOf": [
      -      {
      -        "const": "article",
      -        "type": "string"
      -      },
      -      {
      -        "const": "website",
      -        "type": "string"
      -      },
      -      {
      -        "const": "book",
      -        "type": "string"
      -      },
      -      {
      -        "const": "email",
      -        "type": "string"
      -      },
      -      {
      -        "const": "pdf",
      -        "type": "string"
      -      },
      -      {
      -        "const": "social_post",
      -        "type": "string"
      -      },
      -      {
      -        "const": "video",
      -        "type": "string"
      -      },
      -      {
      -        "const": "podcast_episode",
      -        "type": "string"
      -      },
      -      {
      -        "const": "document",
      -        "type": "string"
      -      },
      -      {
      -        "const": "unknown",
      -        "type": "string"
      -      }
      -    ]
      -  },
      -  "domain": {
      -    "type": "string"
      -  },
      -  "externalId": {
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "fileName": {
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "format": {
      -    "anyOf": [
      -      {
      -        "const": "html",
      -        "type": "string"
      -      },
      -      {
      -        "const": "pdf",
      -        "type": "string"
      -      },
      -      {
      -        "const": "epub",
      -        "type": "string"
      -      },
      -      {
      -        "const": "markdown",
      -        "type": "string"
      -      },
      -      {
      -        "const": "plain_text",
      -        "type": "string"
      -      },
      -      {
      -        "const": "document",
      -        "type": "string"
      -      },
      -      {
      -        "const": "spreadsheet",
      -        "type": "string"
      -      },
      -      {
      -        "const": "presentation",
      -        "type": "string"
      -      },
      -      {
      -        "const": "audio",
      -        "type": "string"
      -      },
      -      {
      -        "const": "video",
      -        "type": "string"
      -      },
      -      {
      -        "const": "unknown",
      -        "type": "string"
      -      }
      -    ]
      -  },
      -  "id": {
      -    "type": "string"
      -  },
      -  "lastReadAt": {
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "metadata": {
      -    "patternProperties": {
      -      "^(.*)$": {}
      -    },
      -    "type": "object"
      -  },
      -  "mimeType": {
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "originalUrl": {
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "readProgress": {
      -    "type": [
      -      "number",
      -      "null"
      -    ]
      -  },
      -  "savedAt": {
      -    "type": "string"
      -  },
      -  "starred": {
      -    "type": "boolean"
      -  },
      -  "status": {
      -    "type": "string"
      -  },
      -  "tags": {
      -    "items": {
      -      "type": "string"
      -    },
      -    "type": "array"
      -  },
      -  "title": {
      -    "type": "string"
      -  },
      -  "updatedAt": {
      -    "type": "string"
      -  },
      -  "url": {
      -    "type": "string"
      -  }
      -}
    • removedOutput schema / properties / items / items / required
      Removed value: -[
      -  "id",
      -  "url",
      -  "originalUrl",
      -  "title",
      -  "domain",
      -  "contentKind",
      -  "classification",
      -  "captureMethod",
      -  "format",
      -  "mimeType",
      -  "fileName",
      -  "asset",
      -  "externalId",
      -  "status",
      -  "starred",
      -  "tags",
      -  "savedAt",
      -  "updatedAt",
      -  "lastReadAt",
      -  "readProgress",
      -  "articleStatus"
      -]
    • removedOutput schema / properties / items / items / type
      Removed value: -"object"
  2. Changed4 schema fields changed
    • addedInput schema / properties / content_max_characters / multipleOf
      Added value: +1
    • changedInput schema / properties / content_max_characters / type
      Previous value: -"integer"New value: +"number"
    • addedInput schema / properties / limit / multipleOf
      Added value: +1
    • changedInput schema / properties / limit / type
      Previous value: -"integer"New value: +"number"
  3. Changed3 schema fields changed
    • addedInput schema / properties / starred
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / items / items / properties / starred
      Added value: +{
      +  "type": "boolean"
      +}
    • changedOutput schema / properties / items / items / required
      Previous value: -[
      -  "id",
      -  "url",
      -  "originalUrl",
      -  "title",
      -  "domain",
      -  "contentKind",
      -  "classification",
      -  "captureMethod",
      -  "format",
      -  "mimeType",
      -  "fileName",
      -  "asset",
      -  "externalId",
      -  "status",
      -  "tags",
      -  "savedAt",
      -  "updatedAt",
      -  "lastReadAt",
      -  "readProgress",
      -  "articleStatus"
      -]New value: +[
      +  "id",
      +  "url",
      +  "originalUrl",
      +  "title",
      +  "domain",
      +  "contentKind",
      +  "classification",
      +  "captureMethod",
      +  "format",
      +  "mimeType",
      +  "fileName",
      +  "asset",
      +  "externalId",
      +  "status",
      +  "starred",
      +  "tags",
      +  "savedAt",
      +  "updatedAt",
      +  "lastReadAt",
      +  "readProgress",
      +  "articleStatus"
      +]
  4. Changed3 schema fields changed
    • addedInput schema / properties / include_metadata / description
      Added value: +"Include the free-form metadata object saved through the API. Everything else is always returned."
    • addedInput schema / properties / saved_after
      Added value: +{
      +  "description": "Items saved after this time: \"7d\", \"36h\", \"now\", or an ISO date. Use for \"saved this week\".",
      +  "maxLength": 80,
      +  "type": "string"
      +}
    • addedInput schema / properties / updated_after / description
      Added value: +"Items whose record changed after this time (status, tags, read progress, or a save): \"7d\", \"36h\", \"now\", or an ISO date. For \"saved this week\" use savedAfter."
  5. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint, destructiveHint=false), but the description adds real behavioral context: matching parity with app search/REST, ordering by most recent status change (last-read in history), pagination via nextCursor, and the meaning of returned IDs and URLs for citation. The stray mention of 'approximate=true' references a mode with no corresponding parameter, which slightly muddies otherwise solid disclosure.

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?

Purpose is front-loaded, and each sentence carries operational value (examples, AND logic, ordering, pagination, ID/citation guidance). It is dense and runs long, but there is little pure filler, so it stays just shy of a 5.

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

Completeness4/5

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

For a 17-parameter, zero-required search/list tool with annotations and an output schema, the description covers ordering, pagination, filter composition, and ID/citation semantics well, so it is close to complete. It could say more about when to prefer this tool over the more targeted library/feed/search siblings.

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 already 94%, so the baseline is 3, but the description adds genuinely new semantics: that optional filters combine with AND and that unspecified filters should be omitted. The example payloads also map natural-language intents onto status, limit, and saved_after, adding meaning beyond the schema's per-field text.

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 ('search') and enumerates the resource scope precisely (articles, websites, books, emails, PDFs, social posts, videos, podcast episodes, documents), so the agent knows this is the broad library search. It does not, however, name or distinguish itself from near siblings such as list_library_objects or search_saved_item, so it stops short of full differentiation.

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?

Offers concrete when-to-use guidance: 'For a normal text search, pass only query and limit', worked examples ('Triage my inbox' → status/limit; 'saved this week' → saved_after), and a clear rule to omit unspecified filters and set view=history for reading history. It lacks explicit reference to alternative sibling tools, so it is strong context without exclusions.

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