Skip to main content
Glama

Find classes for a view

find_classes
Read-only

List the classes a view may use whose name holds the text, with what each does. A view refuses any other.

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

Input Schema

NameRequiredDescriptionDefault
textNoSuch as card, stats, badge or layout-.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already establish that this is a safe, closed-world read operation, so the bar is lower. The description adds useful behavioral context beyond annotations: results include a description of what each class does, filtering is by name substring, and a view rejects classes not returned by this tool. It does not describe pagination or response format, but for a simple read-only list tool this is largely sufficient.

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?

The description is only two sentences and front-loads the main purpose. The second sentence, 'A view refuses any other,' is useful but slightly cryptic and could be clearer. There is no wasted text overall.

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?

This is a simple one-parameter read tool with no output schema, and the description covers what is returned ('with what each does'), how results are filtered, and the view constraint. What remains missing is minor: empty-query behavior and pagination are unstated. Given the tool's simplicity and existing annotations, it is mostly complete.

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 100%, so the schema already documents the single optional 'text' parameter with examples. The description adds that the match applies to the class name ('whose name holds the text'), which is meaningful beyond the schema, but it does not clarify case sensitivity or the behavior of the default empty string. With high schema coverage, a baseline 3 is appropriate.

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 uses a clear verb and resource: it lists classes usable by a view, filtered by name text, and says each result includes what the class does. The phrase 'A view refuses any other' reinforces the scope, though the wording is slightly cryptic. It is specific enough to distinguish this from sibling tools like find_icons, but not perfectly crisp.

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 implied: this is for finding classes a view may legally use, likely while building or editing a view. However, there is no explicit when-to-use guidance, no mention of when not to use it, and no named alternatives such as try_view or describe_app. The constraint 'A view refuses any other' helps an agent understand why to use this tool, but it is not framed as guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources