Skip to main content
Glama

Find key references

i18n_key_references
Read-onlyIdempotent

Locate every code reference to translation keys as path:line:column with exact totals, so you can safely rename or delete a key.

Instructions

Where keys are used in code, as path:line:column, with exact totals. Useful before renaming or deleting a key.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keysYes
limitNoMax locations per key (default 25).
workspaceDirNoSub-directory of the workspace root to operate on. Usually omitted.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds useful behavioral context by stating the return format and that it provides exact totals, though it does not explain truncation behavior from the limit parameter.

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, front-loaded with the core output shape and followed by the practical usage condition. No filler.

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 simple read-only lookup tool with full annotations and no output schema, the description supplies enough context: what it returns and when to use it. It could be slightly stronger by clarifying the effect of the limit parameter on the reported totals.

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 description coverage is 67%, with limit and workspaceDir already described in the schema. The description adds no parameter-level meaning beyond the schema, so it remains at the baseline adequate level.

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?

The description states a specific verb-resource relation: it finds where keys are used in code, and it adds the output shape (path:line:column) and exact totals. This clearly distinguishes it from lookup siblings like i18n_search_keys, though it does not explicitly name alternative tools.

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?

It gives a clear usage context: 'Useful before renaming or deleting a key.' That tells an agent when the tool is valuable, but it does not name exclusions or alternative sibling tools for related tasks.

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