Skip to main content
Glama
tigergraph

tigergraph-mcp

Official
by tigergraph

tigergraph__get_edge_count

Read-onlyIdempotent

Retrieve the total number of edges in a TigerGraph graph, optionally filtered by edge type, to monitor graph size or verify data integrity.

Instructions

Get the count of edges in a TigerGraph graph.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
profileNoConnection profile name. Omit to use the active default profile. Use 'list_connections' to see available profiles.
edge_typeNoType of edges to count. If not provided, counts all types.
graph_nameNoName of the graph. If not provided, uses default connection.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.2

TDQS

B3.2/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, covering the safety profile. The description adds no behavioral details beyond these, such as how counts are computed, performance implications, or behavior when edge_type is omitted.

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 sentence that front-loads the core action and resource. There is no wasted wording, and it is appropriately sized for the simplicity of the tool.

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 simple read-only count operation with three well-documented optional parameters and safety annotations, the description captures the essential purpose. It does not mention the return format, but given the absence of an output schema and the trivial nature of the result, this is a minor omission.

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%, with all three parameters individually documented (profile, edge_type, graph_name) including defaults and usage notes. The tool description itself adds no parameter-level meaning, so the baseline score of 3 is appropriate.

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 specific verb ('get') and resource ('count of edges'), clearly indicating the tool's purpose. It is unambiguous with respect to its subject matter, though it does not explicitly contrast with sibling tools like get_vertex_count or get_node_degree.

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 about when to use this tool versus alternatives such as get_vertex_count, get_node_degree, or get_edges. The description simply states the function, leaving the agent to infer appropriate usage from the tool name.

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