Skip to main content
Glama

tokenSafety

Read-only

Token mint safety: mint/freeze authority, supply, decimals; top-10 holder concentration when the public RPC allows it — $0.001 USDC per call via x402 v2 (Solana or Base).

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": {
      "mint": "<mint>"
    },
    "name": "tokenSafety"
  }
}

Input Schema

NameRequiredDescriptionDefault
mintYesSPL token mint address (base58)

Output Schema

NameRequiredDescriptionDefault
okYes
mintNo
flagsNo
supplyNo
programNo
decimalsNo
mint_authorityNo
freeze_authorityNo
top10_pct_of_supplyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / mint / description
      Added value: +"SPL token mint address (base58)"
    • addedInput schema / properties / mint / example
      Added value: +"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"
    • addedInput schema / properties / mint / pattern
      Added value: +"^[1-9A-HJ-NP-Za-km-z]{32,44}$"
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "decimals": {
      +      "type": "integer"
      +    },
      +    "flags": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "freeze_authority": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "mint": {
      +      "type": "string"
      +    },
      +    "mint_authority": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "ok": {
      +      "type": "boolean"
      +    },
      +    "program": {
      +      "type": "string"
      +    },
      +    "supply": {
      +      "type": "string"
      +    },
      +    "top10_pct_of_supply": {
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    }
      +  },
      +  "required": [
      +    "ok"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, yet the description adds genuinely non-obvious behavior: a per-call cost of $0.001 USDC via x402 v2, supported chains (Solana or Base), and the caveat that holder concentration may be absent depending on RPC availability. The one remaining gap is that it does not say how payment/authorization must be arranged before a paid call succeeds.

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?

One dense sentence with the substance front-loaded (what is inspected) and the cost/model trailing, so an agent scanning the first clause gets the core value. The x402 v2 reference is compact to the point of being jargon-y for a reader without payment-protocol context, but nothing is redundant.

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?

With an output schema present, the description need not enumerate return fields, and it correctly focuses on cost, chain scope, and the conditional-availability caveat. What it omits — payment/authorization prerequisites and any rate or failure semantics beyond the RPC caveat — is the only material gap for a paid, single-parameter tool.

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?

There is a single parameter and schema description coverage is 100%, so the schema already carries the full burden of explaining the base58 mint address and its pattern. The description adds no further parameter meaning, which is acceptable at this coverage level but is not additive.

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 names a specific resource (an SPL token mint) and enumerates exactly what is returned: mint/freeze authority, supply, decimals, and top-10 holder concentration. That is concrete enough for an agent to know this is a token-safety/metadata inspection call rather than a balance or forensics call, though it never explicitly contrasts itself with the siblings balance or drainForensics.

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 implied by the content ('Token mint safety'), and there is a partial availability condition ('when the public RPC allows it'), but there is no explicit when-to-use/when-not guidance and no named alternative. The agent is left to infer that this is the reconnaissance step before deeper analysis such as drainForensics.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources