Skip to main content
Glama

BRAINIAC Token Security & Risk Intelligence

Sourcify source verification

token-security_source-verification
Read-onlyIdempotent

Official Sourcify v2 lookup for a Base (or other chainId) token: match type, contract name, compiler, proxy flag, and whether an ABI is present. Docs: https://www.brainiac.software/api/token-security/source-verification Keywords: sourcify, contract verification, verified source, ABI, Base token, exact_match, compiler.

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": {
      "tokenAddress": "<tokenAddress>"
    },
    "name": "token-security_source-verification"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainIdNochainId, integer, from any to 9007199254740991. Required.
tokenAddressYestokenAddress, string. Required.

Output Schema

NameRequiredDescriptionDefault
matchNomatch. String.
proxyNoproxy. Boolean.
sourceNosource. String.
statusNostatus. String.
chainIdNochainId. Number.
compilerNocompiler. String.
sourceUrlNosourceUrl. String.
abiPresentNoabiPresent. Boolean.
sourcifyUrlNosourcifyUrl. String.
contractNameNocontractName. String.
tokenAddressNotokenAddress. String.
missing_itemsNomissing_items. Array.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description adds context beyond that—it identifies the upstream data source (Sourcify v2) and the per-contract output fields—but says nothing about rate limits, caching, or what happens when no verification record exists. Adequate, not rich.

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 opening sentence is well front-loaded and informative, and the docs link is reasonable. The trailing 'Keywords: sourcify, contract verification, verified source, ABI, Base token, exact_match, compiler' is pure keyword padding that duplicates the first sentence and dilutes the definition.

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 only two parameters, full schema coverage, a full annotation set, and an output schema, the definition needs little more than it provides. The main residual gap is behavior on unverified contracts, which is a minor omission for a read-only lookup of this simplicity.

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% for both parameters, so the baseline is 3. The description's '(or other chainId)' framing reinforces that chainId defaults to Base/8453, but that is already encoded in the schema default, so it adds little new meaning.

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 first sentence names a specific verb and resource ('Official Sourcify v2 lookup for a Base (or other chainId) token') and enumerates the returned attributes (match type, contract name, compiler, proxy flag, ABI presence). The subject matter already differentiates it from siblings like honeypot-risk-check or lp-lock-status, though it never explicitly contrasts with any of them.

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?

Calling it the 'Official Sourcify v2 lookup' implicitly signals this is the tool to use when contract source/ABI verification is needed, and the '(or other chainId)' note hints at multi-chain use. However, there is no explicit when-to-use guidance, no prerequisite (e.g., what to do if the contract is unverified), and no named alternative.

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