Skip to main content
Glama

security.token_diagnostic

Read-only

Use this tool right before buying or swapping an unfamiliar token when you need a single-call combined security check: runs security.token_risk and security.contract_health_audit in parallel against the same GoPlus data and returns both, plus a deduped union of risk_flags and a plain risk_flags_count. Deliberately does not compute a composite score or letter grade - every field is copied unchanged from the two underlying tools. Cheaper than calling both separately. Do not use for token unlock/vesting risk (use unlocks.dump_risk) or if you only need one of the two checks (call that tool directly and pay less). Paid in USDC on Base.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chain_idYesEVM chain id, e.g. 8453 for Base.
contract_addressYesToken contract address (0x...).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
noticeNo
chain_idYes
risk_flagsYes
token_nameNo
buy_tax_pctNo
is_honeypotNo
is_mintableNo
checks_totalYes
data_sourcesYes
generated_atYes
holder_countNo
sell_tax_pctNo
token_symbolNo
lp_burned_pctNo
lp_locked_pctNo
is_open_sourceNo
owner_renouncedNo
checks_completedYes
contract_addressYes
liquidity_healthYes
risk_flags_countYes
top_unlocked_holder_pctNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Discloses significant behavior beyond annotations: runs in parallel, returns both underlying results, dedupes risk_flags, provides risk_flags_count, deliberately does not compute composite score, copies fields unchanged, cheaper than separate calls, and mentions payment in USDC on Base. No contradiction with readOnlyHint/destructiveHint.

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 thorough but not wasteful; every sentence contributes value (purpose, behavior, exclusions, cost). It's front-loaded with the primary use case. However, it is slightly long for a tool description, though justified given the composite nature.

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?

With an output schema present, return structure is covered. The description covers behavior, cost implications, exclusions, and payment details, making it complete for an agent to decide when to use it and what to expect. No critical missing context.

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 both chain_id and contract_address are already well-documented in the schema. The description adds no additional parameter semantics beyond the schema, only implicit reference via the composite nature. Baseline of 3 is appropriate.

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 states a specific verb 'runs... combined security check' and resource 'token_diagnostic'. It clearly distinguishes from siblings by naming the two underlying tools (security.token_risk and security.contract_health_audit) and explains it returns both plus deduped flags, making its unique function obvious.

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 states when to use: 'right before buying or swapping an unfamiliar token... when you need a single-call combined security check'. Provides clear exclusions: 'Do not use for token unlock/vesting risk (use unlocks.dump_risk) or if you only need one of the two checks (call that tool directly and pay less).' Names alternatives directly.

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