coinbase / coinbase/agentkit

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

Open
#1,066 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
1.3k
Forks
815
Avg merge
13h 31m
Merged PRs (30d)
2

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.