Skip to main content
Glama
Pinecone Read-Only MCP

Pinecone Read-Only MCP

by cppalliance

suggest_query_params

Suggests which fields to request and whether to use the count tool based on namespace schema and the user query, returning a recommended tool and explanation to reduce payload and cost.

Instructions

Suggest which fields to request and whether to use the count tool, based on the namespace schema (from list_namespaces) and the user's natural language query. Call list_namespaces first to get available namespaces and metadata fields. Then call this tool with the target namespace and the user query; it returns suggested_fields (only fields that exist in that namespace), use_count_tool (true if the query is a count question), recommended_tool (count | fast | detailed | full — same vocabulary as the query tool preset), and an explanation. When the suggest-flow gate is enabled (the Alliance default) this call is required before the query/count tools; when the gate is off (the core default) it is optional. Either way, use the returned suggested_fields in query tools to reduce payload and cost.

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

Input Schema

NameRequiredDescriptionDefault
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 query. Must match a name from list_namespaces so the tool can look up available metadata fields.
user_queryYesThe user's natural language question or intent (e.g. "list documents by author X with titles and links", "how many records match Y?", "what do the docs say about Z?").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

A4.4/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the full burden, and it does well: it discloses the four return fields, the constraint that suggested_fields only contain fields existing in the namespace, and a runtime gate that changes whether the call is required. It stops short of stating that the tool is side-effect-free/read-only or what happens when the namespace does not match list_namespaces, which are the remaining behavioral gaps.

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?

The paragraph is front-loaded with purpose, then call order, then return shape, then gating nuance, so an agent reading only the first sentence still knows what to do. It is a dense single block rather than a structured list, and the gate discussion could be tightened, but no sentence is filler.

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?

There is no output schema, and the description compensates by naming every returned field and its meaning (suggested_fields, use_count_tool, recommended_tool with its value vocabulary, explanation). Combined with the prerequisite and gating rules, an agent has everything needed to invoke it correctly and interpret the result.

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 coverage is 100% and each parameter already carries a description, so the baseline is 3. The prose reinforces that namespace must match a list_namespaces entry so metadata fields can be resolved, but that is largely a restatement of the schema text rather than new meaning about formats, defaults, or edge cases.

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 a specific verb and object: 'Suggest which fields to request and whether to use the count tool.' It names the inputs that drive the suggestion (namespace schema from list_namespaces plus the user query) and enumerates the outputs, so an agent can distinguish it at a glance from siblings like query, count, and list_namespaces.

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?

It gives an explicit call order ('Call list_namespaces first ... Then call this tool') and states when the call is mandatory vs optional depending on the suggest-flow gate, including which configuration is the default in each context. It also tells the agent how to use the result downstream ('use the returned suggested_fields in query tools to reduce payload and cost'), covering the alternative path.

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