Skip to main content
Glama
CryptoAPIs Contracts MCP

CryptoAPIs Contracts MCP

Official

Solana token details

solana_contract_data
Read-onlyIdempotent

Retrieve Solana token details—including name, symbol, standard, decimals, and total supply—by contract address on mainnet or devnet.

Instructions

Get Solana contract token details (Contracts product).

Actions: • get-token-details-by-contract-address: Get token details by contract address

Networks: mainnet, devnet

Credits by action (source: OpenAPI): • get-token-details-by-contract-address: 75

Credits are indicative only and may change at any time. The actual credits spent for each API request are returned in the response headers.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "action": "<action>",
      "network": "<network>",
      "contractAddress": "<contractAddress>"
    },
    "name": "solana_contract_data"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYesAction to perform
contextNoOptional context for the request - echoed back in response
networkYesNetwork name: mainnet or devnet
contractAddressYesContract address (token contract)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and open-world behavior, so the safety profile is covered. The description adds genuinely useful context beyond them: per-action credit cost (75) and the note that actual credits are returned in response headers. It does not describe what the returned token details contain, which leaves one gap.

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

Conciseness3/5

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

The purpose is front-loaded, which is good, but the body is padded: a one-item bulleted action list, a networks line, and a repeated credit figure plus a two-sentence disclaimer that is largely boilerplate. The credit cost is stated twice, once as a list entry and once in the caveat.

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

Completeness3/5

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

This is a simple single-action read with full parameter documentation and strong annotations, so most of what an agent needs is present. However, with no output schema there is no description of what 'token details' actually returns (fields, decimals, supply, metadata), leaving the return contract unspecified.

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 four parameters (action, context, network, contractAddress) are already documented in structured form, establishing a baseline of 3. The description restates the action and network values with no added syntax, format, or address-validation guidance beyond the schema.

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 and resource ('Get Solana contract token details') and names the single action 'get-token-details-by-contract-address', so the operation is unambiguous. The 'Solana' qualifier implicitly separates it from the EVM sibling, but no sibling is named or contrasted explicitly.

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?

Usage is only implied: the action list and 'Networks: mainnet, devnet' constrain how it can be called, but there is no statement about when to choose this over evm_contract_data or what conditions make it inappropriate. An agent must infer the chain-selection rule from the name alone.

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