Skip to main content
Glama
tigergraph

tigergraph-mcp

Official
by tigergraph

tigergraph__preview_sample_data

Read-onlyIdempotent

Preview sample rows from a data source file to verify its structure and content before loading.

Instructions

Preview sample data from a file in a data source.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
profileNoConnection profile name. Omit to use the active default profile. Use 'list_connections' to see available profiles.
num_rowsNoNumber of sample rows to preview.
file_pathYesFor an object store source, the path to the file within the data source (e.g. 's3a://bucket/data.csv'). For a warehouse source such as Snowflake, the SQL query to sample instead (e.g. 'SELECT * FROM <db>.<schema>.<table>').
graph_nameNoName of the graph context. If not provided, uses default connection.
data_source_nameYesName of the data source.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.2

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and idempotentHint=true, so the description's 'Preview' is consistent with these. The description adds no additional behavioral context beyond annotations, such as output format, error handling, or side effects. It does not contradict the annotations.

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?

The description is a single, focused sentence that front-loads the action ('Preview sample data'). It contains no unnecessary words and is appropriately concise for a simple read-only operation.

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?

Given the simple nature of the tool, annotations covering safety, and the schema documenting all parameters, the description is sufficient. It could mention the return of sample rows or the distinction between file and query, but those are implied by the schema and tool name. The description adequately conveys the core function.

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?

The input schema has 100% parameter description coverage, including detailed explanations for file_path (distinguishing object store vs. warehouse) and other fields. The tool description does not add any parameter semantics beyond what the schema already provides, so it relies on the schema for parameter meaning.

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 (preview) and resource (sample data from a file in a data source). It is clear and distinguishes from other tools by its unique focus on sampling, though it does not explicitly name an alternative. It is more specific than a generic 'preview' and fits the tool's purpose.

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

Usage Guidelines2/5

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

No guidance is provided on when to use this tool versus alternatives. The description only states what it does, leaving the agent to infer that it is for inspecting data before loading. There are no exclusions, prerequisites, or mentions of alternative tools.

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