Skip to main content
Glama
Pinecone Read-Only MCP

Pinecone Read-Only MCP

by cppalliance

query

Performs hybrid dense+sparse semantic search over a Pinecone namespace with optional reranking and metadata filtering to return relevant records.

Instructions

Hybrid semantic search (dense + sparse) with optional reranking. Requires suggest_query_params to be called first for the target namespace. Use preset=fast for low-latency retrieval without reranking and lightweight fields; detailed for reranked, content-oriented retrieval; full to set use_reranking and fields explicitly.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "query_text": "<query_text>",
      "namespace": "<namespace>"
    },
    "name": "query"
  }
}

Input Schema

NameRequiredDescriptionDefault
top_kNoNumber of results to return (1-100). Default: 10
fieldsNoOptional field names to return from Pinecone. Use suggest_query_params suggested_fields for better performance.
presetNofast: no reranking + lightweight fields (former query_fast). detailed: reranking on (former query_detailed). full: use use_reranking and fields below.full
sourceNoPinecone source name (from list_sources). Omit on discovery tools to search all sources. On query tools, omit only when namespace uniquely identifies one source.
namespaceYesNamespace to search within. Use list_namespaces/namespace_router first, then suggest_query_params before querying.
query_textYesSearch query text. Be specific for better results.
use_rerankingNoUsed when preset is detailed or full (default true). Ignored when preset is fast.
metadata_filterNoOptional metadata filter to narrow down search results.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full behavioral burden. It does disclose substantive traits — dense+sparse hybrid retrieval, optional reranking, and the latency/reranking tradeoff per preset — but says nothing about read-only safety, result shape, score semantics, or how source/namespace ambiguity is resolved when source is omitted.

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?

Three sentences, front-loaded with what the tool is, then the prerequisite, then the mode selection. The preset enumeration is somewhat redundant with the schema but is short enough to earn its place as an at-a-glance decision aid.

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 an 8-parameter search tool with no annotations and no output schema, the description covers the prerequisite and mode selection but leaves return values and result composition undescribed — notable because fields selection directly shapes the response. The remaining per-parameter semantics are carried entirely by the schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/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's preset guidance largely restates what the schema enum already documents ("fast: no reranking + lightweight fields"), adding only the ordering requirement that suggest_query_params precede the namespace value.

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?

The description names a specific retrieval technique — "Hybrid semantic search (dense + sparse) with optional reranking" — which cleanly distinguishes it from a lexical sibling like keyword_search. It stops short of naming any sibling alternative directly, so an agent must infer the boundary from the technique description alone.

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?

It contributes one genuinely useful workflow rule: suggest_query_params must be called first for the target namespace. However, the rest of the guidance is about choosing a preset value (fast/detailed/full), not about when this tool should be chosen over query_documents, guided_query, or keyword_search, and no exclusions are stated.

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