Skip to main content
Glama

pinecone_update_documents

Update specific fields in vector documents by ID or filter. Set or remove fields across matching records without full document replacement.

Instructions

Partially update documents - by id, or by filter across many at once.

Args: documents: Per-record updates, each with _id and the fields to change. filter: Update every document matching this filter instead. set_fields: Fields to set on all matched documents. remove_fields: Field names to strip.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
indexYes
filterNo
documentsNo
namespaceYes
set_fieldsNo
remove_fieldsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It doesn't state required permissions, whether updates are reversible, partial-update semantics (merge vs replace), conflict behavior, or the effect on unspecified fields. For a mutation tool with zero annotation coverage this is a significant gap.

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 first sentence efficiently front-loads the dual update modes, and the Args block is terse. Minor redundancy in restating field semantics, but overall efficient and well-structured.

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

Completeness2/5

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

With no annotations, a mutation tool, 0% schema coverage, and required parameters undocumented, the description should do more. An output schema exists so return values needn't be explained, but the mutation behavior and required-parameter semantics are left ambiguous.

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 0%, so the description must compensate, and it does explain five of six parameters (documents, filter, set_fields, remove_fields). However, the required parameters 'index' and 'namespace' are completely undocumented, leaving critical scope information missing.

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 states a specific verb ('partially update') and resource ('documents'), and distinguishes two update modes: by id or by filter. It is clearer than siblings like upsert_documents or update_vector, though it doesn't explicitly name a sibling to avoid.

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 implies when to use each mode ('by id, or by filter across many at once') but offers no prerequisites, no exclusions, and no explicit comparison to alternatives like upsert_documents or delete_records. Usage context is only implied.

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