Skip to main content
Glama
Fewsats

Fewsats MCP Server

Official
by Fewsats

billing_info

Access and retrieve user billing details, including name and address, for purchases or shipping purposes within the Fewsats MCP Server integration.

Instructions

Retrieve the user's billing information. Returns billing details including name, address, and other relevant information. This information can also be used as shipping address for purchases.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The MCP tool handler for 'billing_info'. Decorated with @mcp.tool() to register and implement the tool logic, which delegates to Fewsats().billing_info() and wraps the response using handle_response.
    @mcp.tool() async def billing_info() -> str: """Retrieve the user's billing information. Returns billing details including name, address, and other relevant information. This information can also be used as shipping address for purchases.""" return handle_response(Fewsats().billing_info())
  • Shared helper function used by billing_info (and other tools) to process API responses from Fewsats, returning status code and JSON or text content.
    def handle_response(response): try: return response.status_code, response.json() except: return response.status_code, response.text

Other Tools

Related 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/Fewsats/fewsats-mcp'

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