Skip to main content
Glama

Query item facets

query_by_facets
Read-onlyIdempotent

List saved items that match all supplied facet and tag filters, newest first, for exact stored-label selection from local storage.

Instructions

List saved items matching all supplied facet and tag filters, newest first. Use for exact stored-label selection; use search_uoinks for text relevance, classify_facets to write labels, or get_facet_taxonomy to discover supported axes. Returns yoinks and count from local storage. Filters are AND-combined; omitted filters leave that axis unrestricted.

Input Schema

NameRequiredDescriptionDefault
tagNoOne saved tag that each returned item must have.
limitNoMaximum rows to return in this response; does not change stored data.
topicNoStored topic label used to classify or select examples.
formatNoContent format label, such as tutorial or talking_head; see get_facet_taxonomy.
hook_typeNoStored opening-hook classification to write or match; see get_facet_taxonomy for hook labels.
length_bucketNoDuration bucket: short, medium, long or deep; see get_facet_taxonomy.
performance_tierNoChannel-relative performance label: over, average or under.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.12.1

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the safety profile is free; the description adds real behavior beyond that — AND-combination of filters, omitted-axis semantics, newest-first ordering, and a return shape ('returns yoinks and count from local storage'). The 'yoinks' return term is unexplained jargon, which costs a point.

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 short sentences, front-loaded with the action and scope before the routing advice, and every sentence carries distinct information. Slightly dense with sibling names in one clause, but nothing is redundant.

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?

With no output schema, the description correctly states the return shape and count, and it resolves the main risk of a seven-optional-param tool by explaining combination and omission. What remains thin is the value vocabulary ('yoinks', axis label values), which it delegates to get_facet_taxonomy rather than leaving unexplained.

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 per-parameter meaning is already documented and the baseline is 3. The description earns above baseline by adding cross-parameter semantics the schema cannot express: filters are AND-combined and an omitted filter leaves that axis unrestricted — exactly the ambiguity an agent would otherwise guess at with seven optional params.

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 (List) plus resource (saved items) and the scope constraint (matching all supplied facet and tag filters, newest first). It also explicitly contrasts itself with search_uoinks, classify_facets and get_facet_taxonomy, so an agent can place it in the sibling set without opening a 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 an explicit when-to-use condition ('exact stored-label selection') and names three alternatives with the condition that selects each: search_uoinks for text relevance, classify_facets to write labels, get_facet_taxonomy to discover axes. Both directions (use / use-instead) are covered.

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

Deploy Server

Other Tools