Skip to main content
Glama
This server has been deprecated

Rebranded to ComposeLint AI. Repository has been moved to TechsOneAi/ComposeLintAI.

suggest_token_split

Read-onlyIdempotent

Analyzes token usage and suggests splitting a design token used in multiple contexts to clarify separate definitions in Jetpack Compose projects.

Instructions

Read-only analysis. Suggests splitting tokens used in multiple contexts.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "suggest_token_split"
  }
}

Input Schema

NameRequiredDescriptionDefault
token_nameNo
project_pathNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. First observedv0.1.0

TDQS

C2.6/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the opening phrase 'Read-only analysis' merely restates structured data and earns no credit. The only added content is the notion that tokens appearing in multiple contexts are candidates for splitting, with no detail on how multiplicity is measured, how suggestions are scoped, or what side effects (none) to expect.

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

Conciseness3/5

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

Two short sentences, front-loaded and free of padding, which is good. But the leading sentence is redundant with the annotations, so the effective information payload is a single short clause.

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?

Missing here.

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

Parameters2/5

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

Schema description coverage is 0%, yet the description never mentions either parameter. It does not explain what token_name means when supplied versus omitted (both default to null and neither is required), nor what project_path selects. With two undocumented optional parameters, the description fails to compensate for the schema gap.

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

Purpose3/5

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

The description names a specific verb ('suggests splitting') and resource ('tokens used in multiple contexts'), so the general intent is graspable. However, 'contexts' is never defined and it is unclear whether this produces a suggestion list, a diff, or a refactor plan, leaving the purpose vague at the edges. It also does nothing to distinguish it from neighbouring token-analysis tools such as get_token_siblings or get_token_impact.

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

Usage Guidelines2/5

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

There is no guidance on when to call this versus the many other token tools in the sibling set, nor any mention of prerequisites such as having scanned a project or selected a token. The agent is left to infer the trigger condition entirely from the verb.

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