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 a project uses camelCase, snake_case, or PascalCase for a given token type, helping enforce consistent naming.

Instructions

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

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": "get_naming_convention"
  }
}

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

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so "Read-only analysis" mostly restates structured data rather than adding to it. The genuine value added is enumerating the three case styles the detector reports and implying a whole-project scope. Nothing is said about what happens with mixed-case codebases or whether the parameter changes the analysis scope.

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

Conciseness4/5

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

Two short sentences with the purpose first and the detection targets second — no filler. The opening "Read-only analysis" is a slight redundancy against the annotations, which keeps it from a perfect score.

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

Completeness3/5

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

Return values need not be explained because an output schema exists, and the tool is simple. However, the sole input parameter is left entirely unexplained, so the definition is not complete enough for an agent to pick an appropriate token_type value.

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% for the single parameter token_type, which defaults to "dimension"; the description never mentions the parameter, so an agent cannot tell what token types are accepted or how scoping to a token type affects the result. With low coverage the description was expected to compensate and does not.

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

Purpose4/5

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

"Detects if project uses camelCase, snake_case, or PascalCase for tokens" gives a specific verb and resource and names the exact output categories, so the agent knows what question this tool answers. It does not distinguish itself from adjacent analysis/detection siblings (e.g. detect_conditional_variants, list_applied_patterns), leaving that separation to guesswork.

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 explicit when-to-use, when-not-to-use, or named alternative. "Read-only analysis" signals a safe inspection call but gives no condition that would select this tool over the many other get_* analysis tools listed as siblings.

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