Skip to main content
Glama

wgr_find_field

Read-only

Locate webshop API methods that take or return a given field by matching field names and descriptions, so you can find relevant methods for a query.

Instructions

Find which methods take or return a field, e.g. 'h1', 'campaign', 'weight', 'isHidden'. Matches names and descriptions.

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

Input Schema

NameRequiredDescriptionDefault
queryYes

Output Schema

NameRequiredDescriptionDefault
resultYes

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?

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The description adds genuine behavioral context by disclosing the matching scope ('matches names and descriptions'), which tells the agent results may include loose description hits. It does not say whether matching is exact, substring, or case-insensitive, nor how results are ordered.

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 compact sentences, front-loaded with the action and followed by illustrative examples that genuinely aid value selection. Nothing is redundant, though the trailing sentence about matching could be folded into the first for tighter flow.

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?

An output schema exists, so return values need no explanation, and this is a simple one-parameter search tool. The remaining gap is match semantics and result ordering, which is a modest omission rather than a blocking one.

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% for the single 'query' parameter, so the description must carry the meaning. It partially does by giving four representative field names, which communicates the expected value shape, but it never states matching semantics (substring vs exact, case sensitivity, whether regex is supported).

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 and resource: find which methods take or return a given field, with concrete example field names ('h1', 'campaign', 'weight', 'isHidden'). This is clearly a reverse lookup, distinct in spirit from wgr_list_methods or wgr_describe_method, though no sibling is named explicitly.

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: reach for this when you have a field name and need the methods that consume or produce it. There is no explicit when-not guidance, no mention of what to do if the field is unknown, and no pointer to wgr_describe_method or wgr_list_methods as alternatives.

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