Skip to content

AgentKit erc20 action descriptions audit — inputs good, outputs/errors missing #1066

@0xzoz

Description

@0xzoz

Ran AgentKit's erc20 actions through Twig (https://twig.kind-ling.com/) — an automated MCP tool description scorer.

Tool Grade Issue
get_balance B Missing: error states (invalid address, unsupported network)
transfer C+ No gas context — agents don't know this requires native token balance
approve C Missing: why you'd approve before transfer, what failure looks like without it
get_allowance C No context on when this matters vs calling transfer directly

Score: 61/100 (C). Pattern: inputs are well-documented, outputs and error states are not.

Re-run: https://twig.kind-ling.com/analyze — free, no auth required.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions