Skip to main content
Glama

search_environments

Read-only

Search visible environment names and keyword tags by case-insensitive literal substring, optionally filtered by templateId. Exact names rank first. Returns compact IDs, names, keywords, template IDs, orientation and movement; use get_environment for selected asset details.

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

Input Schema

NameRequiredDescriptionDefault
nameYes
limitNo
templateIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, openWorldHint=false, so the safety profile is covered. The description adds genuinely non-structured behavior: result ranking, the visibility scoping ('visible' environments only), and the exact payload fields returned. It does not mention result-count limits or what happens when nothing matches.

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?

Three tight sentences, front-loaded with what is searched and how matching works, then ranking, then the return payload and the hand-off. Every clause carries information an agent would otherwise have to guess.

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?

With no output schema, the description correctly spends words on the returned fields (IDs, names, keywords, template IDs, orientation, movement) and names the follow-up tool for full details. The only material gap is the undocumented limit parameter and its default, which matters for a search that could return many environments.

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 0%, so the description must carry parameter meaning. It does well for name (substring, case-insensitive, matches both names and keyword tags) and templateId (optional filter), but the limit parameter is never mentioned, nor its default or maximum, leaving one of three parameters unexplained.

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?

States a specific verb and resource (search environment names and keyword tags), the matching semantics (case-insensitive literal substring), and the ranking rule (exact names first). It is clearly distinguishable from a plain enumeration tool like list_environments and from the detail fetcher get_environment.

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?

Explicitly routes the agent onward: 'use get_environment for selected asset details', which tells it this tool is a discovery step, not a detail fetch. It does not state when to prefer it over list_environments or how substring matching behaves with empty/partial input, so there is no explicit exclusion.

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