Skip to main content
Glama

Find Item

find_item
Read-onlyIdempotent

Finds items by exact or prefix title, or by exact or normalized url, and returns their ids. No search, no embeddings: this is the cheap way to go from a title you know to an item_id. Use get_item or read_item with the returned id. Use search_library when you only remember a topic, not a title.

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

Input Schema

NameRequiredDescriptionDefault
urlNoExact or normalized url to look for.
limitNoMax ids to return.
titleNoExact title or title prefix to look for.
tags_allNoOnly items carrying ALL of these tags. Child tags linked via parent count ('/' is disallowed in tag names).
tags_anyNoOnly items carrying ANY of these tags. Child tags linked via parent count ('/' is disallowed in tag names).
untaggedNoOnly items without any tag.
tags_noneNoExclude items carrying any of these tags. Child tags linked via parent count ('/' is disallowed in tag names).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / tags_all / description
      Previous value: -"Only items carrying ALL of these tags. Child tags count: 'work' also matches 'work/research'."New value: +"Only items carrying ALL of these tags. Child tags linked via parent count ('/' is disallowed in tag names)."
    • changedInput schema / properties / tags_any / description
      Previous value: -"Only items carrying ANY of these tags. Child tags count: 'work' also matches 'work/research'."New value: +"Only items carrying ANY of these tags. Child tags linked via parent count ('/' is disallowed in tag names)."
    • changedInput schema / properties / tags_none / description
      Previous value: -"Exclude items carrying any of these tags. Child tags count."New value: +"Exclude items carrying any of these tags. Child tags linked via parent count ('/' is disallowed in tag names)."
  2. First observed

TDQS

A4.4/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 the description usefully adds that this is the cheap non-embedding lookup path and that it returns ids only, not full item bodies. It does not mention pagination behavior beyond the limit parameter or permission requirements, which keeps it short of a 5.

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?

Four short sentences, each doing distinct work: what it matches, what it is not, what to do with the result, and which sibling to use instead. Front-loaded with the capability before the routing advice.

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 7-parameter, zero-required, no-output-schema lookup tool, the description covers purpose, return shape, and next step. The tag-filter parameters are only covered by the schema, but that is adequate given 100% coverage; guidance on combining filters (e.g., title plus tags ANDed) is the only real omission.

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 coverage is 100%, so the baseline is 3; the description restates the title and url semantics already documented in the schema but adds nothing about the four tag-filter parameters, untagged, or limit. It neither compensates nor detracts.

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 (finds) plus the exact matching modes (exact/prefix title, exact/normalized url) and the return value (ids). It explicitly contrasts itself with search_library and with get_item/read_item, so an agent can place it precisely among siblings.

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 the positive case ('from a title you know to an item_id'), the negative case ('no search, no embeddings'), the follow-up step ('Use get_item or read_item with the returned id'), and the alternative to pick instead when only a topic is known ('Use search_library'). Nothing is left to inference.

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.