Skip to main content
Glama
flikQ

TokenLens MCP Server

by flikQ

compare_plans

Rank TokenLens plans by effective cost per 1M tokens to choose between subscriptions and API access for any model. Filter by model and output ratio to find the most cost-effective plan.

Instructions

Rank all TokenLens plans by effective cost per 1M tokens. Useful when choosing between subscriptions and API access for a given model.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
model_idNoFilter to plans that include this model (e.g. 'claude-sonnet', 'gpt-4o'). If omitted, all plans are returned.
output_ratioNoFraction of tokens that are output (0–1). Default 0.35.
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description itself must convey behavior. It states the comparison is based on effective cost and that all plans are ranked, but doesn't disclose sort order, whether it returns a list with cost details, or any read-only/external-call behavior. Reasonably transparent for a non-mutating comparison but leaves some behavioral gaps.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences with no filler. The core action is front-loaded, and the use case is stated in the second sentence.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With only 2 optional flat params and no output schema, the description provides the essential action and use case. It could mention the return format or exact sort order, but the tool's purpose is simple and the schema covers parameters well – not quite a 5.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema covers 100% of parameters with descriptions, so baseline is 3. The tool description adds 'effective cost per 1M tokens' and 'for a given model,' which align with output_ratio and model_id but don't materially extend the schema's parameter docs.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Description opens with 'Rank all TokenLens plans by effective cost per 1M tokens' – a specific verb (rank), resource (TokenLens plans), and metric. This clearly distinguishes it from siblings like recommend_plan or run_scenario.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly states 'Useful when choosing between subscriptions and API access for a given model,' giving a clear use case. However, it does not mention when to avoid it or point to specific sibling alternatives such as break_even or recommend_plan.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

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/flikQ/tokenlens-mcp'

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