Skip to main content
Glama

claim_mining

Bank accrued resources from an extractor on a cell you own. Requires authentication and checking mining status first. Off-chain and free.

Instructions

Bank the resources an extractor has accrued on a cell you own into the cell balance. Requires a session — call authenticate first. Off-chain and free (no transaction). With an active extractor, claiming nothing accrued is a harmless no-op; claiming on a cell that has no extractor is an error. Check what is available first with get_mining_status.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tokenIdYesThe tokenId of a cell you own with an extractor, to bank its accrued resources.
Behavior4/5

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

No annotations are provided, so the description carries full burden. It discloses that the action is off-chain and free, and explains edge cases (no-op and error). Could be more explicit about success behavior, but sufficiently transparent for a simple claim action.

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?

Four concise sentences, each adding value. Front-loaded with main purpose. No unnecessary words.

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?

Given the simplicity of the tool (1 parameter, no output schema), the description covers purpose, prerequisites, edge cases, and related tools. Could mention post-claim balance update, but overall complete.

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 already fully covers the parameter semantics. The description adds context about session and off-chain, but does not enhance parameter meaning. Baseline 3 is appropriate given 100% coverage.

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 uses a specific verb 'bank' and clearly identifies the resource (accrued resources from an extractor on a cell). It distinguishes itself from sibling tools like get_mining_status, making the purpose unambiguous.

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?

Explicitly states when to use: requires a session, off-chain, no transaction, and mentions prerequisites (active extractor). Provides caveats: no-op if nothing accrued, error if no extractor, and advises checking get_mining_status first.

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/sodiqit/cpu-game-mcp'

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