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".

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

Description adds rich behavioral details beyond annotations: embedding model (BGE-base-en), similarity metric (cosine), window size (500-char overlapping), character cap (200K) with truncation flag, and return structure (offsets, similarity scores). Annotations already declare readOnly/OpenWorld/idempotent, and description fully aligns.

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?

Concise 3-4 sentence description with front-loaded purpose. Every sentence adds essential information (usage, pairing, technical details). No redundant or filler content.

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?

Despite no output schema, the description clearly states what is returned ('top-N passages with character offsets and similarity scores'). It also covers edge cases (truncation, pairing) and provides sufficient context for an agent to invoke and interpret results correctly.

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% with descriptions for all three parameters. Description adds value by specifying max length for 'text' (~200K chars), default for 'limit' (5), and concrete query examples, enhancing schema information.

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 the tool performs 'semantic search INSIDE a fetched record,' specifying exact use cases (SEC 10-K, article, long tool result). It distinguishes from siblings by mentioning pairing with ask_pipeworx_grounded and contrasting with general search.

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?

Description explicitly says 'Use when the record is too big to cram into the prompt,' providing clear context. It also mentions pairing with ask_pipeworx_grounded. No direct exclusions, but implied for non-text or small records.

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

C2.8/5.0
Disambiguation2/5

Several tool families have blurry boundaries: ask_pipeworx, ask_pipeworx_beta, ask_pipeworx_grounded, deep_research, discover_tools, and suggest_questions all route into the same underlying catalog with only subtle differences, and the six polymarket_* tools overlap heavily (edge scanning vs. fill-risk vs. arbitrage vs. cross-venue spread). Compounding this, the server is named 'Giantbomb' but only 7 of 38 tools relate to that domain, so an agent cannot predict what this server does from its name.

Naming Consistency3/5

All tool names are snake_case, which helps, but the verb pattern is inconsistent: verb_noun (list_subscriptions, resolve_entity, validate_claim), bare verbs (remember, recall, forget), noun-prefix subjects (entity_profile, pipeworx_feedback, polymarket_edges, recent_changes), and even a versioned name (ask_pipeworx_beta) that breaks its own family's pattern. There is no predictable naming scheme an agent could use to guess a tool's name.

Tool Count2/5

38 tools is well past the 25+ 'too many' threshold, and the count is split across two unrelated concerns: ~7 Giant Bomb tools (several explicitly marked 'API offline as of 2026-05') and ~31 tools for a Pipeworx data-research and Polymarket-trading platform. The number is not merely heavy; it serves no single coherent purpose.

Completeness2/5

For the declared Giant Bomb domain, the surface is incomplete (missing videos, franchises, reviews, people, and other known resource types) and largely dead since the underlying API is offline. The Pipeworx half is comparatively complete with routing, grounded answers, research, memory, subscriptions, and feedback, but that coverage is attached to the wrong server identity and does not fill the gaps in the claimed purpose.