Skip to main content
Glama
This server has been deprecated

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

get_naming_convention

Read-onlyIdempotent

Detects whether project tokens use camelCase, snake_case, or PascalCase before adding or replacing tokens, helping maintain consistent naming.

Instructions

Read-only analysis. Detects if project uses camelCase, snake_case, or PascalCase for tokens.

What it does: Analyzes existing tokens to detect whether project uses camelCase, snake_case, or PascalCase.
When to use: Use BEFORE creating new tokens with add_token or replace_pattern to maintain project consistency.
When NOT to use: Do not use to inspect actual token values; use list_tokens instead.
Side effects: Read-only. No files modified.
Parameters:
  - token_type: 'dimension' (default) or 'color'.
Returns:
  JSON string with detected style (e.g. 'camelCase'), confidence score, examples, and recommendations.

Input Schema

NameRequiredDescriptionDefault
token_typeNodimension

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

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

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so 'Read-only analysis' and 'Side effects: Read-only. No files modified.' largely restate structured data. The description does add some value by naming the return payload fields (detected style, confidence score, examples, recommendations) and the fact that analysis is heuristic rather than exhaustive, but it discloses nothing about permissions, cost, or how confidence is derived.

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?

The labeled sections (What it does / When to use / When NOT to use / Side effects / Parameters / Returns) make it scannable and front-loaded. But the opening line and the 'What it does' line say the same thing, and the read-only guarantee appears three times, so several sentences do not earn their place.

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?

For a single-optional-parameter read tool this covers usage, alternatives, accepted parameter values, and the shape of the result. An output schema exists, so the Returns section is a bonus rather than a necessity, and the only remaining soft spot is that 'dimension' as a token type is never defined.

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

Parameters4/5

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

Schema description coverage is 0% and the schema has no enum, so the description is doing real work by enumerating the accepted values 'dimension' (default) and 'color'. It does not explain what distinguishes a dimension token from a color token, which would have fully closed the gap.

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?

States a specific verb and resource: detects camelCase, snake_case, or PascalCase usage across project tokens. It also carves out a clear boundary against list_tokens, so an agent can distinguish it from the sibling that inspects token values without opening either schema.

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

Usage Guidelines5/5

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

Explicit when-to-use: call before add_token or replace_pattern to keep new tokens consistent with the existing style. Explicit when-not-to-use: do not use it to read token values, use list_tokens instead. Both the positive and negative routing conditions are stated.

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