Skip to main content
Glama

flow_blueprint

Generates an architecture-location profile and persistent wiring plan from a reference module or state field, mapping cross-layer connection points and Save/Load symmetry for flow_verify validation.

Instructions

【接新功能/改跨层链路前必调】指定参考模块或状态字段,生成架构定位档案、四站式接线位置,并持久化一份与 flow_verify 共享的可追踪接入目标清单(wiringPlan:含 L1 结构接通、L2 数据传递消费、Save⇄Load 对称恢复及待确认歧义项)。

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": {
      "reference": "<reference>"
    },
    "name": "flow_blueprint"
  }
}

Input Schema

NameRequiredDescriptionDefault
taskIdNo同一会话内的任务隔离标识;也可通过 FLOWGUARD_TASK_ID 设置
savePlanNo是否持久化该接入清单供后续 flow_verify 自动对照验收(默认 true)
referenceYes参考的现有同类模块名、类名、状态字段名或文件名
sessionIdNo会话隔离标识;也可通过 FLOWGUARD_SESSION_ID 设置
targetFieldNo本次计划新增或打通的配置/协议字段名(可选,传入后 flow_verify 将核验该字段是否真正传入下游计算并对称持久化)
targetSymbolNo本次计划新增或接入的目标函数/类名(可选,传入后 flow_verify 将精确核验其入口与注册)
workspaceRootNo代码仓库根目录绝对路径
consumerTargetNo预期消费 targetField 的核心业务计算函数或类名(可选,用于检测“已写入配置但过滤计算仍读旧常量”)
requirePersistenceNo该特性是否要求跨重启保存与恢复(Save ⇄ Load),默认 auto 按参考模块契约推断

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.1/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the disclosure burden. It does well to reveal the side effect: a persisted wiringPlan shared with flow_verify for later automated acceptance, including the savePlan flag, which defaults to true. It says nothing about permissions, what happens when a plan already exists, or the shape of the returned dossier.

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?

The trigger condition is front-loaded in brackets, followed by a single dense sentence covering artifacts, persistence, and handoff. Every clause carries information, although domain jargon such as '四站式接线' and 'L1/L2' relies on shared context.

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?

Nine parameters, no output schema, and no annotations mean the description should carry more weight, and it covers purpose, trigger, generated artifacts, and the cross-tool contract. The main gap is that it does not state what the immediate response contains, such as the dossier content, versus what is merely persisted.

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 schema already documents each parameter. The description still adds value by framing the reference input as a same-kind module, class, or state field, and by explaining the wiringPlan dimensions (L1 structural wiring, L2 data transfer and consumption, Save⇄Load symmetric recovery) and how targetField feeds flow_verify downstream checks.

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 action chain: given a reference module or state field, it generates an architecture positioning dossier, four-station wiring locations, and persists a wiringPlan. It also distinguishes itself from the sibling flow_verify by describing the plan as a shared contract that flow_verify later compares against.

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?

The bracketed prefix states an explicit trigger — call before adding new features or modifying cross-layer chains — which is a clear precondition. It implies flow_verify handles later verification, but it does not spell out when this tool is unnecessary or name an alternative for read-only exploration such as flow_overview.

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

Deploy Server

Other Tools