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.9/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true, idempotentHint=true, destructiveHint=false. The description goes beyond by disclosing specific behaviors: returns character offsets and similarity scores, uses BGE-base-en embeddings with cosine over 500-char overlapping windows, has a 200K char cap, and truncation is flagged. This adds valuable operational context without contradicting any annotations.

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?

The description is information-dense but well-structured: opening with core purpose, then use case, pairing, and technical details. Every sentence earns its place; there is no redundant or vague filler. Appropriate length given the tool's complexity.

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 having no output schema, the description fully explains what the caller gets back: top-N passages with offsets and similarity scores. It also covers edge cases (truncation flag) and algorithmic behavior. Combined with sibling context and annotations, this is complete for a tool of this complexity.

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 description coverage is 100%, so baseline is 3. The description adds practical semantics: it clarifies what 'text' should be (already-pulled record content), gives example queries for 'query', and contextualizes 'limit' as max passages. It doesn't merely repeat schema but enriches understanding, though the schema already covers the basics.

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 uses a specific verb ('Semantic search INSIDE a fetched record') and clearly states the resource ('a fetched record', e.g., a SEC 10-K body). It distinguishes itself from siblings by explicitly contrasting with ask_pipeworx_grounded and positioning itself as a tool for searching within already-pulled text rather than fetching or grounding over whole documents.

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?

Provides explicit when-to-use guidance: 'Use when the record is too big to cram into the prompt.' It also gives a concrete workflow pairing with ask_pipeworx_grounded ('fetch with the gateway, ground over the relevant passages'). This gives clear context for when to choose this tool over alternatives.

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.6/5.0
Disambiguation1/5

Multiple tools have nearly identical purposes: ask_pipeworx and ask_pipeworx_beta are explicitly described as identical, and ask_pipeworx_grounded differs only in grounding. generate_users and generate_by_gender overlap, as do ai_visibility_check/scan_competitor_ai_presence and the several polymarket_* tools that all target edge detection and arbitrage. An agent would struggle to select the correct tool.

Naming Consistency2/5

All names use snake_case, but the pattern is inconsistent: some start with verbs (generate_users, resolve_entity, validate_claim), some are nouns (entity_profile, deep_research, recent_changes), and some are compound noun phrases (ai_visibility_check, pipeworx_feedback, polymarket_arbitrage). There is no predictable verb_noun structure across the set.

Tool Count2/5

33 tools is well above the 'too many' threshold, and the set includes many meta-tools, memory helpers, and niche prediction-market tools. While the broad domain might justify some diversity, the count feels bloated and dilutes the server's focus, especially given the server name suggests only random user generation.

Completeness4/5

For the apparent core domain (data lookups, research, prediction market analysis, subscriptions), the tool surface is quite comprehensive: it covers direct queries, grounded answers, deep research, entity profiles, comparisons, claim verification, discovery, trends, memory, and subscription management. Minor gaps exist (e.g., no direct CRUD for user-generated profiles beyond creation), but overall the feature set feels well covered.