Skip to main content
Glama

get_icon_usage

Find project resources and lines that reference an icon by name or path; optionally target a project, otherwise search the active one.

Instructions

Find project resources that reference an icon.

Args: name: Icon name or path. project: Project name; defaults to the active project.

Returns: Matching resources and lines.

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": {
      "name": "<name>"
    },
    "name": "get_icon_usage"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
projectNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description carries the behavioral burden. 'Find' implies a read-only lookup, and it discloses that project defaults to the active project and that matching resources and lines are returned, but it does not explain matching semantics (exact, substring, or path), permissions, or side effects.

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?

The definition is short and front-loaded: purpose first, then Args and Returns. There is no filler; each line contributes either scope, parameter meaning, or return shape.

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 low-complexity two-parameter lookup with an output schema, the description covers purpose, both parameters, the active-project default, and return contents. The remaining gap is matching semantics, but the core information needed to call the tool is present.

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 Args section is the only source of parameter meaning: it defines name as 'Icon name or path' and project as 'Project name; defaults to the active project.' This covers both parameters and the default behavior, though path syntax and matching rules remain unspecified.

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?

The description opens with a specific verb and resource: 'Find project resources that reference an icon.' This clearly identifies a read-only usage lookup and distinguishes it from icon mutation siblings such as add_icon, delete_icon, and edit_icon through the verb 'find' and the reference-checking scope.

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 or when-not-to-use guidance, and no alternative tool is named. The only usage context is implicit in 'find resources that reference an icon'; prerequisites such as checking usage before deleting an icon are not stated.

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