Skip to main content
Glama
gblinproject

@gblin-protocol/mcp-server

invest_usdc_to_gblin

Convert USDC earnings into GBLIN treasury accumulation using two-step calldata that approves USDC and calls buyGBLINWithToken with MEV-protected minOut values.

Instructions

Generate calldata to convert USDC earnings into GBLIN (treasury accumulation). Returns two sequential steps: (1) approve USDC, (2) call buyGBLINWithToken. Includes properly-quoted minOut values to prevent MEV sandwich attacks — never accepts 0 minOut.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
usdc_amountYesUSDC amount to invest (decimal string).
Behavior5/5

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

No annotations are provided, so the description fully carries the burden. It discloses that the tool generates calldata (not executes), returns two sequential steps, and includes MEV protection via minOut values that never accept 0.

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 sentences with clear, front-loaded information. Every sentence serves a purpose: purpose, steps, and security. No wasted words.

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?

Given one parameter and no output schema, the description fully explains what the tool returns (two steps) and includes critical security context, making it complete for an agent to invoke correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The single parameter usdc_amount has a schema description covering 100%. The description adds context about decimal string and automated minOut handling, providing marginal added value beyond the schema.

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 clearly states the verb 'Generate calldata' and the resource 'USDC into GBLIN', distinguishing it from siblings like swap_gblin_to_usdc_jit (reverse) and quote_safe_swap (quote vs calldata).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage for converting USDC earnings to GBLIN for treasury accumulation, but does not explicitly exclude alternative tools or state when not to use it. However, sibling context provides differentiation.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/gblinproject/GBLIN-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server