Skip to main content
Glama

Find plants by need

find_plants
Read-onlyIdempotent

Filter the library by what the cards already say. Every filter is optional and they combine. Returns each plant with its name, a one-line summary (which also gives the zones where it lives outdoors all year), the card URL and citations. When nothing matches all the filters, it relaxes light first, then difficulty, returns up to 5 cards and says in "message" and "relaxed_filters" which filter it relaxed. It never relaxes pet_safe.

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_plants"
  }
}

Input Schema

NameRequiredDescriptionDefault
lightNoThe light the card lists: low, medium or bright (some direct sun counts as bright).
limitNoHow many plants to return (default 10).
languageNoLanguage of the answer: "en" (default) or "es" for Latin American Spanish.
pet_safeNotrue: only plants listed as non-toxic to both cats and dogs, with no pet review pending. Toxic and not rated plants are left out.
difficultyNoThe card’s care rating: easy, easy_to_moderate, moderate, challenging or experienced (for experienced growers). "beginner" means easy or easy_to_moderate.
indoor_outdoorNo"indoor": the card covers growing it indoors or in a pot. "outdoor": the card covers it only as a garden plant or a lawn.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already declare a safe, idempotent, closed-world read, so the bar is low, yet the description adds substantial behavior: the automatic relaxation of light then difficulty, the cap of 5 cards on the relaxed path, the 'message' and 'relaxed_filters' fields that disclose the relaxation, and the hard rule that pet_safe is never relaxed. This is exactly the non-obvious fallback semantics an agent could not infer from structured fields. The only ambiguity is that 'up to 5 cards' on the relaxed path is not reconciled with the schema's limit default of 10, but it is scoped to the no-match case rather than contradicting the schema.

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 core action and scope, and every sentence carries information about either filters or the fallback path. The nested parenthetical '(which also gives the zones where it lives outdoors all year)' is slightly convoluted and the five-card cap versus the limit default of ten could have been stated cleanly in one clause, so structure is efficient but not flawless.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, so the description must carry the return contract, and it does: plant name, one-line summary, card URL, citations, plus the 'message' and 'relaxed_filters' diagnostics on a relaxed result. Combined with a fully documented six-parameter schema with enums, an agent has everything needed to call this correctly and interpret the response.

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 coverage is 100%, so the baseline is 3 and the schema already explains each facet. The description still adds meaning the schema does not: filters combine as an AND, and each filter behaves differently under relaxation (light and difficulty relax, pet_safe does not). It also clarifies that the returned one-line summary conveys outdoor hardiness zones, tying output back to the indoor_outdoor facet.

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: 'Filter the library' of plant cards by their stated attributes, and enumerates what is returned. An agent can tell this is a faceted filter over plant cards rather than a free-text search. It stops short of naming a sibling (e.g. search_plants) that a keyword search would use instead, so the distinction is inferred from behavior rather than stated.

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?

'Every filter is optional and they combine' tells the agent the filters are conjunctive and that zero filters is valid, which is real usage guidance. It also explains the fallback path when nothing matches, including the relaxation order and the fact that pet_safe is never relaxed. It gives no explicit condition for choosing another tool over this one, so the when-not side is absent.

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