Count tokens
count_tokensRead-onlyIdempotent
Count the tokens in a text (an estimate with OpenAI's cl100k tokenizer; other model families differ slightly).
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes |
count_tokensCount the tokens in a text (an estimate with OpenAI's cl100k tokenizer; other model families differ slightly).
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes |
Changes observed during successful MCP inspections.
Score is being calculated.
Add one secure layer between your agents and this server.