Skip to main content
Glama

format_format_bytes

Convert byte counts into human-readable formats like '1.2 MB' or '1.1 MiB' for clear data size representation in applications.

Instructions

[format] Format a byte count: 1234567 → '1.2 MB'. binary=true for KiB/MiB.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
valueYes
decimalsNo
binaryNo
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/0-co/agent-friend'

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