Skip to main content
Glama
Pinecone Read-Only MCP

Pinecone Read-Only MCP

by cppalliance

guided_query

Run Pinecone hybrid search in one call by automatically selecting a namespace and executing count or query presets, with a decision trace for transparency.

Instructions

Combines namespace routing, suggestion, and query into a single call — no prerequisite tools needed. Single orchestrator: optional namespace_router logic -> executes count or hybrid query (fast / detailed / full presets). Returns experimental.decision_trace so behavior stays transparent and debuggable.

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": {
      "user_query": "<user_query>"
    },
    "name": "guided_query"
  }
}

Input Schema

NameRequiredDescriptionDefault
top_kNoResult count for hybrid query paths (1-100).
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.
namespaceNoOptional explicit namespace. If omitted, namespace_router logic will choose one.
user_queryYesUser question or intent.
enrich_urlsNoIf true, enrich result URLs using the namespace URL generator when metadata.url is missing (if supported for that namespace).
preferred_toolNoOptional override: count, fast (no rerank / light fields), detailed (reranked), full (explicit rerank + fields), or auto from suggestion.auto
metadata_filterNoOptional metadata filter to constrain results.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations provided, the description carries the full burden. It does disclose useful behavior beyond the schema: the internal routing step, that count or hybrid query is executed, and that an experimental.decision_trace is returned for debuggability. It does not state read-only safety, latency/cost differences between presets, or what happens on routing failure, so meaningful gaps remain.

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 compact sentences, front-loaded with the core 'what it does' before the orchestration detail and the return-value note. Dense but largely free of filler; the jargon ('hybrid query', 'presets') slightly reduces immediate readability.

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

Completeness4/5

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

For a seven-parameter orchestrator with a fully covered schema and no output schema, the description supplies the missing conceptual layer: that it self-routes, that it can execute either count or hybrid query, and that it returns a decision trace. An agent can call it correctly from this plus the schema; only safety/latency semantics are absent.

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 all seven parameters are already documented, and the description adds only marginal meaning: it clarifies that namespace_router logic governs the namespace parameter and that 'fast / detailed / full presets' correspond to preferred_tool. Baseline 3 is appropriate when the schema does the heavy lifting.

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 uses a concrete verb-and-resource framing ('combines namespace routing, suggestion, and query into a single call') and adds an orchestrator role, which is far more specific than the bare name 'guided_query'. It implicitly distinguishes itself from siblings by noting 'no prerequisite tools needed', signalling it replaces chaining namespace_router/suggest_query_params/query. It stops short of explicitly naming those siblings as alternatives, so it lands at 4 rather than 5.

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?

There is implied guidance: use this as a single orchestrator instead of calling the prerequisite tools first, and 'optional namespace_router logic' explains the fallback when namespace is omitted. However, it never states when to prefer plain query, count, or keyword_search over this tool, nor any when-not conditions. The usage model must be inferred from the phrase 'single orchestrator'.

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