Skip to main content
Glama

Discover Flow's internal API

flow_discover_api
Read-only

Records tRPC endpoints called by Flow's frontend during app exercise and creates a reusable API map. Run after redeploy or upon 404 errors. No data submission or charges.

Instructions

Record which tRPC endpoints Flow's own frontend calls while the app is exercised, and write a reusable API map. Observation only — it submits nothing and charges nothing. Run this after any Flow redeploy, or when another tool reports a 404 on a procedure. Only endpoint shapes are stored; no prompts, media, or tokens.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
navigateNoReload the page to replay app bootstrap traffic
duration_secondsNoHow long to observe traffic
Behavior5/5

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

Annotations already declare readOnlyHint and destructiveHint. Description adds valuable context: 'submits nothing and charges nothing', 'Only endpoint shapes are stored; no prompts, media, or tokens.' No contradictions.

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?

Four sentences with no wasted words. Each sentence serves a purpose: purpose, safety, when-to-use, data limits. Well front-loaded.

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?

Lacks information about return value or success/failure signals. Since no output schema, description should clarify what the tool returns (e.g., success status or map reference). Adequate but incomplete.

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 has 100% description coverage for both parameters. Description adds usage guidance but no additional parameter specifics beyond schema. Baseline 3 is appropriate.

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?

Description clearly states verb 'Record' and resource 'tRPC endpoints' with outcome 'write a reusable API map'. Explicitly distinguishes from siblings like flow_api_map by stating it writes the map rather than reads it.

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 states when to run: 'after any Flow redeploy, or when another tool reports a 404 on a procedure'. Provides clear context but could explicitly name flow_api_map as alternative for reading.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Sergiorushy326/google-flow-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server