Skip to main content
Glama

Search Within a Source

search_within
Read-onlyIdempotent

Semantic search INSIDE a fetched record. Pass the text you already pulled (e.g. a SEC 10-K body, an article, a long tool result) plus a natural-language query; get back the top-N passages with character offsets and similarity scores. Use when the record is too big to cram into the prompt — search_within saves context, returns only the passages that matter, and every passage carries an offset so the agent can verify a verbatim quote. Pairs with ask_pipeworx_grounded: fetch with the gateway, ground over the relevant passages instead of the whole document. BGE-base-en embeddings + cosine over 500-char overlapping windows; cap is 200K chars (longer inputs are truncated and flagged).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYesThe document text to search inside (max ~200K chars).
limitNoMax passages to return (1-20, default 5).
queryYesNatural-language query — what passages do you want? E.g. "supply-chain risk", "fiscal year 2024 revenue", "drug interactions with warfarin".

TDQS

A4.9/5.0
Behavior5/5

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

Beyond the readOnly/idempotent annotations, the description discloses return format (passages with offsets and scores), underlying algorithm (BGE-base-en embeddings, cosine similarity, 500-char overlapping windows), and input handling (200K char cap, truncation with flag). This exceeds what annotations provide and adds critical operational context.

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, information-packed sentences with no superfluous words. Purpose is front-loaded, then usage guidance, then technical constraints. Every sentence earns its place.

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?

Even without an output schema, the description fully covers return values (passages with offsets and similarity scores), algorithmic behavior (embeddings, windowing, truncation), and integration with sibling ask_pipeworx_grounded. It gives the agent everything needed to decide when to invoke and what to expect.

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 covers all 3 parameters with descriptions, and the tool description enriches them with real-world examples ('supply-chain risk', 'fiscal year 2024 revenue') and clarifies the 'text' parameter's purpose (already-pulled record). It also adds behavior beyond schema (truncation flag), which parametrically informs the agent.

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?

The description clearly states 'Semantic search INSIDE a fetched record' with specific outputs (top-N passages with character offsets and similarity scores) and concrete examples. It distinguishes itself from siblings like ask_pipeworx_grounded by emphasizing 'inside a fetched record' vs grounding over passages.

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?

Explicitly states when to use ('record is too big to cram into the prompt'), provides a usage pattern with ask_pipeworx_grounded ('fetch with the gateway, ground over the relevant passages'), and explains the benefits (saves context, verifiable quotes). This is clear guidance with an alternative named.

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.

TDQS

A3.5/5.0
Disambiguation2/5

Multiple tools have overlapping purposes: ask_pipeworx, ask_pipeworx_beta, ask_pipeworx_grounded, deep_research, and validate_claim all answer research questions, and the Kitsu-specific tools are mixed with unrelated Polymarket, memory, and utility tools. Despite detailed descriptions, the boundaries between many tools are unclear.

Naming Consistency2/5

The server mixes single-word nouns (anime, manga, categories), verb_noun pairs (search_anime, top_anime), verb phrases (ask_pipeworx, generate_llms_txt), and domain-prefixed families (polymarket_*, pipeworx_*) with no consistent overall convention. While some sub-families are internally consistent, the set as a whole lacks a predictable pattern.

Tool Count2/5

38 tools is excessive for a server ostensibly about Kitsu anime/manga, with only 7 tools actually serving that domain. The rest are unrelated (Pipeworx research, Polymarket trading, memory, subscriptions), making the set bloated and unfocused for its stated purpose.

Completeness2/5

The Kitsu domain lacks common operations like filtered search, character/episode data, or user lists. Meanwhile, the Pipeworx/prediction-market tools form an arbitrary subset of their domains (e.g., no general Kalshi data, no SEC full-text search), so the overall surface is incomplete for any single purpose.