Skip to main content
Glama

Search items in a list

castle_search_list_items
Read-only

Search the entries of one list — the blocked IPs, emails or device ids it holds. Read-only despite being a POST. Castle: POST /v1/lists/{list_id}/items/query.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNo1-based page number.
filtersNoOptional {field, op, value} filters over the items.
list_idYesThe list to search.
results_sizeNoResults per page, 1-100.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so the bar is lowered, but the description adds real value by stating 'Read-only despite being a POST' — resolving the exact confusion a POST endpoint would create. It also cites the underlying HTTP route. It does not, however, discuss pagination behavior or filter semantics.

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?

Two tight sentences: scope first, then the read-only clarification and endpoint. Every clause earns its place with no filler.

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?

No output schema exists, so return values need not be explained, and pagination/filters live in the schema. Combined with the read-only POST warning and endpoint, the definition is nearly complete; only filter behavior on nested objects is left unaddressed.

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 all four parameters (list_id, page, filters, results_size) are already documented in the schema; baseline is 3. The description occasionally hints at content ('blocked IPs, emails or device ids') but adds no new parameter syntax or format detail.

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?

Names a specific verb (search) and resource (entries of one list), and clarifies what the list contains (blocked IPs, emails, device ids). This disambiguates it from siblings like castle_count_list_items, castle_get_list_item, and castle_search_lists without opening their schemas.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

The phrase 'Search the entries of one list' implies the usage context but gives no explicit when-to-use guidance or alternatives (e.g., count vs. get item vs. search lists). An agent must infer the routing from sibling names.

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.