Skip to main content
Glama

format_format_ordinal

Convert numbers to their ordinal format, such as 1 to '1st', 2 to '2nd', and 3 to '3rd', for proper text formatting.

Instructions

[format] 1 → '1st', 2 → '2nd', 3 → '3rd', 11 → '11th', 21 → '21st'.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nYes
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