Skip to main content
Glama

discover

Read-only

Inspect local tool metadata, schemas, skill catalogs, and connected MCP server previews without launching providers or executing commands.

Instructions

Inspect local tool metadata, schemas, skill metadata catalog, or imported/connected MCP server previews without launching providers or executing commands.

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": {
      "context_id": "<context_id>",
      "kind": "<kind>"
    },
    "name": "discover"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNo
kindYes
queryNo
refreshNo
context_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is known; the description still adds real value by clarifying that nothing is launched or executed, i.e. this is a pure metadata read with no provider side effects. It does not disclose what `refresh` triggers, whether results are cached or paginated, or what shape the output takes. With annotations covering the safety profile, this is adequate but not rich.

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?

A single dense sentence with the scoping constraint ("without launching providers or executing commands") placed at the end for emphasis. Every clause carries information; the four-item resource list is the only place it feels slightly run-on.

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 read-only, no-side-effect tool with no output schema, the definition covers the "what" but not the "how": nothing explains how to drive the four modes differently, what `id` identifies in each mode, or what a caller gets back. Given the 0% schema coverage on five parameters, a complete definition would need to say more.

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% across 5 parameters, so the description must carry the load. It does decode the critical `kind` enum by listing the four resources in matching order, but `id`, `query`, `refresh`, and `context_id` are left entirely unexplained — notably `context_id`, which is required and non-obvious. Partial compensation only.

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 specific verb ("Inspect") and enumerates four concrete resources: local tool metadata, schemas, skill metadata catalog, and imported/connected MCP server previews. This maps cleanly onto the `kind` enum, so an agent can tell it apart from execution-oriented siblings like `run` or `codex_send`. It stops short of naming a sibling as the alternative, which keeps it from a 5.

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?

"Without launching providers or executing commands" implies a preview/inspection posture, which is a useful usage cue, but the definition never states when to pick this over `search`, `read`, or `mcp`. No exclusions or prerequisites are given (e.g. whether a connection must exist first for the `servers` kind).

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