Skip to main content
Glama

Whether this wallet can already trade, and what it still owes

problee_trading_setup_status
Read-onlyIdempotent

Check whether the agent wallet can already buy and sell. The protocol can only move what the wallet has granted it. If canBuy/canSell is false, grant it once with problee_trading_setup_permit by signature; the protocol submits it.

Input Schema

NameRequiredDescriptionDefault
chainIdNoCompiled protocol release chain ID (Base 8453).
collateralTokenNoChecksummed or lowercase 20-byte EVM address (0x + 40 hex).

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, so the safety profile is covered. The description adds real protocol context: the protocol can only move what the wallet has granted, and the permit is submitted by the protocol on the agent's behalf, which explains why a signature rather than a transaction is needed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences: purpose, mechanism, and next step. The remediation guidance is front-loaded after the purpose, and 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 covering canBuy/canSell, the description needn't explain return values, and annotations cover safety. It could still note that the check is scoped to the given collateral token and chain, but an agent has enough to call it correctly.

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 (chainId and collateralToken), including format and pattern constraints. The description adds no parameter-level meaning beyond the schema, so the baseline of 3 applies.

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?

States a specific verb and resource: check whether the agent wallet can buy and sell. This is clearly distinguishable from the sibling problee_trading_setup_permit, which is explicitly named as the remediation path.

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?

Gives an explicit conditional: if canBuy/canSell is false, call problee_trading_setup_permit once by signature. That is a concrete when-to-use-next rule with the alternative tool named.

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.