Skip to main content
Glama

Adaptive Search (Jev)

adaptive_search
Read-only

Run keyword-targeted research tasks with context and acceptance targets, returning only approved URLs, titles, and extractive descriptions with cursor-based pagination for additional results.

Instructions

Jev-driven keyword-target research. Supply tasks with context and targets (id, keywords, question), or legacy questions; at most 6 tasks and 12 targets total. Each round has at most three batched Jev calls: plan, evidence scoring, coverage/continuation. Returns only Jev-approved URLs, titles and extractive descriptions, not rejected or unassessed candidates. Approval is a model judgement, not verified truth. Follow nextCursor using cursor (without tasks/questions) to read more, without search or Jev calls. page_size defaults to 20 (max 50); there is no total approved-result count cap, but search time/request budgets remain finite. Pagination is not exhaustive search: inspect coverageComplete and warnings. Results are held in this server process for up to 30 minutes / 32 recent runs and are lost on restart or eviction. Relative today/yesterday constraints use UTC; unknown event dates do not qualify. Requires Jev credentials; otherwise returns not_configured without network requests. Task text and necessary fragments go to the configured Jev service (default TypeSafe), never engine credentials. Prefer fused_search for a precise lookup, fetch_page for a known URL and x_search for X-specific retrieval.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tasksNoTask context plus keyword-guided acceptance targets; at most 12 targets total. Keywords are search variants, not acceptance criteria.
cursorNoRead the next approved-result page. Do not combine with tasks/questions. No network or Jev calls; cursors are temporary and server-local.
page_sizeNoResults per page: default 20, max 50. Total approved results have no fixed count cap; pages also have a byte limit.
questionsNoLegacy independent questions. Supply exactly one of questions, tasks or cursor.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultsYes
warningsYes
expiresAtYes
nextCursorYes
stopReasonYes
totalResultsYes
coverageCompleteYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.2.2

TDQS

A4.9/5.0
Behavior5/5

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

Even though readOnlyHint=true, openWorldHint=true, and destructiveHint=false are present, the description adds substantial behavioral context beyond annotations: only Jev-approved results are returned, approval is a model judgement rather than verified truth, results are ephemeral (30 minutes/32 runs), UTC semantics for relative dates, credential requirements and not_configured behavior, and data routing to the configured Jev service. This is far above the annotation baseline.

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 dense but every sentence contributes distinct value: mode selection, limits, batching, result semantics, pagination warnings, data retention, credentials, privacy, and sibling routing. It is front-loaded with the core purpose before diving into constraints, and there is no filler or redundant restating of the tool name.

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?

For a complex multi-mode search tool with an output schema, the description is remarkably complete: it covers all input modes, cardinality limits, pagination behavior, approval semantics, result freshness, timezone handling, auth failure behavior, data-sending implications, and when to choose alternatives. Nothing material needed to invoke it correctly is left unexplained.

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 the baseline is 3. The description adds meaningful parameter-relationship semantics: tasks and questions are mutually exclusive modes, cursor must be used without tasks/questions, and page_size defaults to 20 with no fixed cap on approved results. This goes beyond the individual schema property descriptions, earning a 4.

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 identifies a specific operation: 'Jev-driven keyword-target research' with tasks, targets, or legacy questions as input. It also explicitly differentiates itself from sibling tools by saying 'Prefer fused_search for a precise lookup, fetch_page for a known URL and x_search for X-specific retrieval,' so an agent can disambiguate immediately.

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?

The description gives strong when-to-use and when-not-to-use guidance: supply tasks with targets, or legacy questions, but not both with cursor; follow nextCursor to read more; and prefer other sibling tools for different lookup types. It also warns that pagination is not exhaustive and to inspect coverageComplete and warnings, which shapes the calling strategy.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.