You're viewing a demo portfolio

Join the waitlist
PRSM
This tool is no longer present in the server's latest manifest. Showing the last observed version (server version 1.8.0).

token_count_exact

Inactive

Tool of SaSame Research Agent

declared in 1.8.0

Deterministic token count estimate for a text string. Uses a word/subword splitting heuristic calibrated to GPT/Claude tokenizers (~3.8 chars/token for English prose, adjusted for code/numbers). Returns estimate + breakdown. No LLM call, no network. For budget planning before sending text to an LLM.

Parameters schema

{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "text"
  ],
  "properties": {
    "text": {
      "type": "string",
      "description": "Text to estimate token count for"
    },
    "model_family": {
      "enum": [
        "claude",
        "gpt",
        "generic"
      ],
      "type": "string",
      "description": "Token family to calibrate for (default: generic). claude/gpt differ slightly on code vs prose."
    }
  }
}

What this tool wraps· 0 endpoints

min confidence0.700.50

No endpoints wrapped at confidence ≥ 0.70.

Parent server

SaSame Research Agent

https://github.com/shigeki7777/sasame-mcp

2/7 registries
View full server →