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. First observed

TDQS

A4.1/5.0
Behavior1/5

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

The description is rich in behavioral detail (embeddings, 500-char windows, 200K cap, truncation flag, output format). However, it contradicts the openWorldHint=true annotation: the tool is described as operating solely on the provided text, while the annotation implies access to external data. This is a direct contradiction, forcing score 1.

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 dense, purposeful sentences with no filler. The first sentence is the core definition, followed by use case, pairing, and technical details. Every sentence earns its place, and the description is well front-loaded.

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 explains return values (passages, character offsets, similarity scores), constraints (truncation, cap), and algorithmic behavior. It gives enough contextual detail for an agent to select and correctly invoke the tool, including example queries and a workflow with a sibling tool.

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 already covers all parameters (100% coverage). The description adds value by explaining text as 'the text you already pulled,' giving example queries for the query parameter, and clarifying the limit via 'top-N.' It also ties the 200K char cap to the text parameter, enriching the schema meaning.

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 opens with 'Semantic search INSIDE a fetched record,' immediately clarifying the action and resource. It distinguishes itself from siblings like ask_pipeworx_grounded by specifying that it searches within already-fetched text, not external sources. The output (passages with offsets and scores) is also clearly stated.

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 tells agent when to use: 'Use when the record is too big to cram into the prompt.' It also names the complementary tool ask_pipeworx_grounded and explains the workflow of fetching then grounding, providing clear usage guidance and 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

B3.4/5.0
Disambiguation1/5

The server is named 'Phishtank' but only one tool (check_url) relates to phishing. The remaining 31 tools cover a wide range of unrelated topics (data research, prediction markets, memory, etc.), many with overlapping purposes (e.g., ask_pipeworx, ask_pipeworx_beta, ask_pipeworx_grounded, deep_research). This makes it extremely difficult for an agent to select the right tool.

Naming Consistency2/5

Tool names mix conventions inconsistently: some use underscores (ai_visibility_check, check_url), some are camelCase (ask_pipeworx, bet_research), and others are compound phrases. There is no predictable pattern across the set.

Tool Count1/5

With 32 tools, the count is high, but only one aligns with the server name 'Phishtank' (check_url). The vast majority belong to an entirely different domain (Pipeworx tools), making the tool count severely inappropriate for the server's stated purpose.

Completeness1/5

For a phishing detection server, the tool surface is severely incomplete. It lacks essential tools like report_phish, verify_phish, get_stats, etc. The single phishing tool (check_url) is insufficient, while the other 31 tools are completely out of scope.