Gemini CLI 63-character MCP tool names: do Sume tool names fit?
Gemini CLI builds names as mcp_server_tool and truncates past 63 characters. Sume's longest documented tool names fit if the server name stays short.

Yes, Sume's tool names fit. Gemini CLI turns every MCP tool into mcp_{serverName}_{toolName} and truncates names longer than 63 characters (read 2026-10-02). The longest hosted Sume tool name in the docs is 36 characters, so with the server named sume the result is 45, well under the limit.
The naming rules, as documented
Gemini's MCP page states the rules in one place. They apply to every server you add, not only Sume.
| Rule | What the docs say | Effect on Sume |
|---|---|---|
| Format | Every MCP tool gets the fully qualified name mcp_{serverName}_{toolName} | mcp_sume_generate_image |
| Underscores | Do not use underscores in server names | Name the server sume, not sume_prod |
| Characters | Anything other than letters, numbers, _, -, . and : becomes _ | Sume's hyphenated names keep their hyphens |
| Length | Names over 63 characters are truncated with middle replacement | Not reached with a short server name |
The arithmetic
The prefix mcp_ is 4 characters and the joining underscore is 1, so a name is 5 characters plus the server name plus the tool name. Among the tools listed in Sume's docs, avatar-video-previews_generate_video is 36 characters, and avatar-video-previews_create, video-caption-overlay_create and generation_admission_preview are 28 each (MCP tools and gates).
For the 36-character name, the budget leaves 63 - 5 - 36 = 22 characters for the server name. So a server called sume (4) is nowhere near it, and a server name up to 22 characters would still pass for every documented tool.
Why this matters in practice
Truncation with middle replacement means two long names could collapse toward each other, and a policy rule written for the full name would no longer match. Sume's tools share long prefixes, such as avatar-video-previews_... and timeline_..., so staying under the cap keeps each tool's full name intact and your approval rules predictable.
The practical advice is short. Use sume as the server name, avoid underscores in it, and write policy rules against mcp_sume_<tool>. If you rename the server for an environment, count again with the formula above.
Limits of this check
To confirm in your own session, run /mcp in Gemini CLI after connecting and compare the listed names with the formula (MCP quickstart).
- I only checked names printed in Sume's docs; call
tools_listfor the live set in your session, which may differ. - The 63-character rule comes from Gemini's docs, not from the MCP specification.
- This post is about names; it does not change what an API key or OAuth scope can call.
Sources
Related posts
More in Integrations
- Gumloop custom MCP server: use a bearer token for Sume
Gumloop's Anthropic models do not forward custom headers, so connect Sume's hosted MCP with a bearer token. Or pick another model for x-api-key.
- Hookdeck Delivery Groups: per-tenant rates for Sume webhooks
Hookdeck Delivery Groups limit delivery rate per tenant. Use them to stop one account's burst of Sume completions starving others on a shared relay.
- Instagram Reels API: 1920 px width cap and 25 Mbps video bitrate
Meta's Reel spec caps width at 1920 px and bitrate at 25 Mbps VBR, with 23-60 FPS and 300 MB. Probe width, fps and size with Sume; bitrate is an average.
- Instagram Reels API aspect ratio: 0.01:1 to 10:1, 9:16 advised
Meta's Reels API accepts any aspect ratio from 0.01:1 to 10:1 and only recommends 9:16. See what each ratio rule says and check a clip with video inspect.
Written by Sume