Skip to main content
Glama

sui_grpc_call

Directly call any read method on Sui's gRPC services: LedgerService, StateService, or MovePackageService. Provide service, method, and arguments; optionally specify field paths and routing source.

Instructions

Escape hatch: call any READ method on the LedgerService / StateService / MovePackageService directly. Args are forwarded as-is to the @mysten/sui SuiGrpcClient. Pass read_mask_paths if you want fields populated. Use sui_describe_grpc_services first to discover what's available. ExecuteTransaction and SubscribeCheckpoints are blocked here — they have their own gated tools. For LedgerService methods, source='auto' (default) tries live then falls back to archive on retention boundary.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
serviceYesService name in JS camelCase: ledgerService | stateService | movePackageService.
methodYesMethod name in JS camelCase, e.g. getObject.
argsYesMethod args as a JSON object. Numeric fields the proto declares as uint64/int64 should be passed as decimal strings; the wrapper will coerce to BigInt where needed.
read_mask_pathsNoProto field paths to populate in the response. Without this, responses are usually just digests.
sourceNoRouting policy. 'auto' (default) → for ledgerService, tries live then archive on retention boundary; for other services, behaves like 'live' (archive doesn't implement them). 'live' / 'archive' force a single endpoint. Archive can ONLY serve ledgerService methods — choosing 'archive' with another service errors.
networkNoSui network. Defaults to the server's configured default.
Behavior5/5

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

Given no annotations, the description fully discloses that only READ methods are allowed, that ExecuteTransaction and SubscribeCheckpoints are blocked, that read_mask_paths affects response detail, and details the source routing behavior including fallback and limitations.

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 description is a single dense paragraph that front-loads the main purpose. It is concise but could be better structured (e.g., with bullet points) for readability.

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?

Given the complexity of 6 parameters, nested objects, and no output schema, the description covers all essential aspects: allowed services, blocked methods, recommended discovery, parameter nuances, routing policies, and network defaults.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, but the description adds significant value: explains that read_mask_paths is needed for full fields (otherwise digests), that numeric fields should be passed as decimal strings for BigInt coercion, and the interaction between source and service.

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 clearly states it is an 'escape hatch' for calling READ methods on specific services (LedgerService, StateService, MovePackageService), explicitly blocking ExecuteTransaction and SubscribeCheckpoints, which distinguishes it from sibling tools.

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?

Explicitly recommends using sui_describe_grpc_services first to discover available methods, clarifies which methods are blocked and why, and explains the source routing policy for different services.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/abhinavg6/sui-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server