Skip to main content
Glama

list_single_group

Retrieve details for a specific wallet group by providing the group name, enabling management of cryptocurrency assets within the Armor Crypto MCP server.

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 function for 'list_single_group', decorated with @mcp.tool() for registration, which proxies to armor_client.list_single_group
    @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)}
  • Pydantic input schema model ListSingleGroupRequest defining the group_name parameter
    class ListSingleGroupRequest(BaseModel):
        group_name: str = Field(description="Name of the group to retrieve details for")
  • ArmorWalletAPIClient helper method implementing the API call to fetch 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}/")

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

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