Skip to main content
Glama

x402_vectorstore_get_v1_search

Search documents in a namespace using full-text BM25 queries, returning ranked matches with a configurable result limit. Use it to find relevant stored content by keyword.

Instructions

vectorstore — Document store + full-text search (D1 FTS5 BM25); embeddings planned [GET /v1/search] $0.01 USDC on eip155:8453. Example: /v1/search?ns=mine&q=query&limit=10

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "x402_vectorstore_get_v1_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNoJSON body for POST/PUT/PATCH/DELETE
queryNoQuery parameters, e.g. {base:'USD', quote:'EUR'}
restartNoExplicitly re-run a previously failed/unknown operation. Never set for unknown outcomes unless you know the paid call did not complete.
operationIdNoDurable operation id for this intent. Supply a stable id (e.g. your job/run id) to dedupe retries; omit to derive one from the arguments.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It does disclose several genuinely useful traits: the HTTP verb/path, the BM25 ranking engine, and a per-call price of $0.01 USDC on eip155:8453, which is important context an agent cannot get from the schema. It does not explain payment mechanics, result limits/pagination, or what the response looks like.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single dense line that front-loads what the tool is, then the endpoint and price, then a concrete example — the ordering is good and nothing is padding. It is somewhat packed with stacked abbreviations (FTS5 BM25, eip155:8453) that reduce readability, but each element earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a paid HTTP-wrapper tool with four generic parameters, no annotations, and no output schema, the description covers cost, endpoint, and example query keys, which is the essential core. It still leaves the agent without return-value shape, result count behavior, or how the payment is authorized, so it is adequate but not complete.

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%, so baseline would be 3, but the schema's query/body parameters are generic untyped catch-alls while the description names the actual query keys (ns, q, limit). That is real meaning added beyond structured fields. It does not explain restart or operationId semantics, though those are documented in the schema itself.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States the specific verb+resource: full-text search over a document store, implemented with D1 FTS5 BM25, at endpoint GET /v1/search. It also signals the boundary ("embeddings planned"), so an agent knows this is keyword search, not vector similarity. It does not explicitly distinguish itself from the sibling x402_vectorstore_post_v1_doc write tool, leaving that inference to the reader.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The phrase "embeddings planned" implicitly tells the agent to use this only for lexical/BM25 matching, not semantic retrieval, and the concrete example (ns, q, limit) shows the intended call shape. However, there is no explicit when-to-use/when-not guidance and no reference to the sibling document-write tool for ingestion, so routing must be inferred.

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

Deploy Server

Other Tools