Skip to main content
Glama

list_single_group

Retrieve detailed information for a specific wallet group by providing its name. This tool enables users to access SingleGroupInfo for efficient blockchain operations within the Armor Crypto MCP environment.

Instructions

Retrieve details for a single wallet group. Expects the group name as a parameter, returns SingleGroupInfo.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
list_single_group_requestsYes

Implementation Reference

  • MCP tool handler for 'list_single_group'. Registered via @mcp.tool() decorator. Delegates to armor_client.list_single_group and handles errors.
    @mcp.tool() async def list_single_group(list_single_group_requests: ListSingleGroupRequest) -> SingleGroupInfo: """ Retrieve details for a single wallet group. Expects the group name as a parameter, returns SingleGroupInfo. """ if not armor_client: return {"error": "Not logged in"} try: result: SingleGroupInfo = await armor_client.list_single_group(list_single_group_requests) return result except Exception as e: return {"error": str(e)}
  • Registration of the 'list_single_group' tool using FastMCP @mcp.tool() decorator. Tool name derived from function name.
    @mcp.tool()
  • Pydantic input schema/model for the list_single_group tool: expects group_name.
    class ListSingleGroupRequest(BaseModel): group_name: str = Field(description="Name of the group to retrieve details for")
  • ArmorWalletAPIClient helper method implementing the API call to retrieve single group details.
    async def list_single_group(self, data: ListSingleGroupRequest) -> SingleGroupInfo: """Return details for a single wallet group.""" return await self._api_call("GET", f"wallets/groups/{data.group_name}/")
  • Pydantic output schema/model for SingleGroupInfo returned by list_single_group.
    class SingleGroupInfo(GroupInfo): wallets: List[WalletInfo] = Field(description="list of wallets in the group")

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/armorwallet/armor-crypto-mcp'

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