Skip to main content
Glama

find_tag_references

Locate project files and lines that reference a given tag path, including parent projects, to trace tag usage before edits.

Instructions

Find project resources that reference a tag path.

Args: tag_path: Tag path to search for. project: Project to search; defaults to the active project.

Returns: Matching files and lines across the project and its parents.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "tag_path": "<tag_path>"
    },
    "name": "find_tag_references"
  }
}

Input Schema

NameRequiredDescriptionDefault
projectNo
tag_pathYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose one real behavioral trait: results span the project and its parent projects, which is non-obvious recursion. It still leaves the read-only nature, result limits, and cost of scanning inherited projects unstated, and 'find' weakly implies a safe read rather than declaring it.

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?

Front-loaded with the purpose sentence, then structured Args/Returns sections, which is easy to scan. The tag_path line is mildly tautological, but there is no padding beyond that.

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?

An output schema exists, so the brief Returns note is sufficient on that front. However, for a search tool with no annotations, the description omits tag-path syntax and whether the scan covers all resource types or just some, which an agent needs to call it correctly and interpret results.

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%, so the description must compensate, and it does mention both parameters. The key added value is that project defaults to the active project, which the schema only shows as a null default; the tag_path note ('Tag path to search for') is closer to a restatement but still names the required input.

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?

States a specific verb and resource: find project resources that reference a tag path. It is clear what the tool does, but it never distinguishes itself from narrower siblings such as find_alarm_tag_references or find_script_references, leaving the agent to guess which reference-finder covers which resource class.

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

Usage Guidelines3/5

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

Usage is only implied by the verb 'find' plus the scope note 'across the project and its parents'; there is no explicit when-to-use, when-not, or named alternative. An agent can infer it is a lookup, but not when to prefer it over the sibling find_* tools.

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

Deploy Server

Other Tools