Skip to main content
Glama
tigergraph

tigergraph-mcp

Official
by tigergraph

tigergraph__fetch_vector

Read-onlyIdempotent

Retrieve vertices and their vector attributes using GSQL when the REST API cannot fetch vectors. Specify vertex type, IDs, and optional vector attribute to get results.

Instructions

Fetch vertices with their vector data using GSQL PRINT WITH VECTOR. Note: Vector attributes cannot be fetched via REST API.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
profileNoConnection profile name. Omit to use the active default profile. Use 'list_connections' to see available profiles.
graph_nameNoName of the graph. If not provided, uses default connection.
vertex_idsYesList of vertex IDs to fetch.
vertex_typeYesType of the vertex.
vector_attributeNoSpecific vector attribute to fetch. If not provided, fetches all vectors.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.2

TDQS

A4/5.0
Behavior3/5

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

Annotations already establish readOnlyHint=true, destructiveHint=false, and idempotentHint=true, so the safety profile is covered. The description adds the GSQL implementation detail and the REST limitation, but discloses little beyond that about return shape, auth, or edge cases.

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

Conciseness5/5

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

Two short sentences, with the action front-loaded and the caveat placed second. No filler or repetition of schema content.

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 read-only fetch with 100% schema coverage and only two required parameters, the description plus annotations are largely sufficient for an agent to call the tool. The main missing piece is a description of the return shape, especially since the tool has no output schema, so a 4 rather than 5.

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 five parameters have individual descriptions in the schema. The tool description itself adds no parameter-specific meaning beyond the general 'vector data' context, justifying the baseline score.

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?

Description opens with a specific verb and resource ('Fetch vertices with their vector data') and names the underlying mechanism ('GSQL PRINT WITH VECTOR'), which distinguishes this from REST-based vertex retrieval siblings such as get_nodes. The scope is clear and actionable.

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

Usage Guidelines4/5

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

The note that 'Vector attributes cannot be fetched via REST API' gives a clear reason to choose this GSQL-backed tool over REST-based alternatives. It does not explicitly name sibling tools or state 'use X when not Y,' so the guidance is context rather than an explicit routing rule.

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