Skip to main content
Glama

gh_find_component

Find a Grasshopper component by exact name, nickname, or Category/Name; no fuzzy matching, so adjust the query with another name or category when hits are zero or multiple.

Instructions

Exact lookup of a Grasshopper component by name, nickname or 'Category/Name'. No fuzzy matching: zero hits means use another name; several hits means add a category.

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

Input Schema

NameRequiredDescriptionDefault
limitNo
queryYes
categoryNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

A3.6/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 behavioral burden, and it does disclose the key trait: matching is exact, never fuzzy, so results are predictable. It does not say what a hit contains, how the resolution order among name/nickname/category works, or what limit does when several components match, leaving meaningful behavioral gaps.

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 tight sentences with the matching rule front-loaded and the failure-mode guidance immediately after. Nothing is padded; the colon-based structure makes the branching easy to scan.

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?

For a three-parameter lookup with no annotations and no output schema, the definition explains matching and failure handling but leaves the return shape and the role of limit undocumented. An agent could call it correctly for the common case but would be guessing about result size and content.

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 coverage is 0%, so the description must compensate. It clarifies that query accepts a name, nickname, or 'Category/Name' and implies that category is used to narrow ambiguous results, but limit is never explained and no parameter formats or defaults are given.

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 ("Exact lookup of a Grasshopper component") and enumerates the accepted key forms: name, nickname, and 'Category/Name'. It is clear what the tool does, though it does not explicitly position itself against gh_describe_component, which an agent might otherwise confuse it with.

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?

Gives actionable guidance for outcomes: on zero hits, retry with a different name; on multiple hits, add a category. This is real when-to-use/what-next guidance. It stops short of naming an alternative tool for when a lookup is the wrong approach (e.g., browsing or describing a component).

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