Skip to main content
Glama

tide_discover

Read-only

FIND OUT WHERE THE USER ACTUALLY STANDS before planning anything — which clusters and realms already exist, whether this repo is already bound to one, which one-way doors have already been crossed, and whether the app's redirect URI is registered. Returns a ready-to-run command that writes .tide/state.json, plus how to read it. RUN THE COMMAND; do not just describe it. Then pass the resulting JSON to tide_plan. CALL THIS FIRST whenever a TideCloak server may already exist — 'add a realm', 'we already have TideCloak', 'add auth to this app', 'set up another environment', or any request where creating fresh infrastructure would be wrong. Never assume a missing fact means a missing cluster.

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

Input Schema

NameRequiredDescriptionDefault
project_dirNoProject to scan. Default: the current directory.
include_liveNoProbe the live server too (default true). False = repo facts only.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare readOnlyHint/destructiveHint=false, but the description adds substantial behavior: the tool returns a ready-to-run command that writes .tide/state.json, the agent must actually RUN that command rather than describe it, and the resulting JSON feeds tide_plan. It also warns against a specific inference error ('never assume a missing fact means a missing cluster'). The readOnlyHint applies to the scan itself, not the emitted command, so this is added context rather than a contradiction.

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?

It is front-loaded with the core question and ordered as discover → run command → pass to tide_plan, and every clause carries signal. It is still noticeably long and the opening sentence is a run-on, with some repetition of the 'call this first' imperative.

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?

For a two-optional-parameter discovery tool with no output schema, the description covers the return shape (a command plus how to read it), the required next action, and the downstream handoff to tide_plan. Nothing an agent needs to invoke and use it correctly is missing.

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 100%, so both parameters (project_dir, include_live) are already documented with defaults. The description implies live probing via the redirect-URI check but adds no syntax, format, or edge-case detail beyond the schema, so the baseline 3 applies.

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?

The description names a specific verb and resource set: it discovers existing clusters/realms, repo binding, crossed one-way doors, and redirect URI registration. It is clearly distinguished from siblings by naming the follow-on tool (tide_plan) and the class of requests it precedes (anything where fresh infrastructure would be wrong).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit when-to-call triggers are quoted verbatim ('add a realm', 'we already have TideCloak', 'add auth to this app', 'set up another environment'), and it states to call this FIRST whenever a server may already exist. It also gives a when-not principle ('any request where creating fresh infrastructure would be wrong') and routes the agent to tide_plan afterwards.

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.