Skip to main content
Glama

check_bitstream_readiness

Assess implementation status, timing, and critical warnings before bitstream generation. Returns READY, BLOCK, or WARN to prevent programming faulty hardware.

Instructions

检查比特流生成前的实现状态、时序摘要和严重警告。

这个工具是"发车前的最后一瞥":在你打算 generate_bitstream 或 program_device 之前,一次性给出 PASS/BLOCK/WARN 的综合结论,避免烧板后才发现问题。

检查维度:

  • impl_1 run 是否已到达 route_design Complete(没布线 = 无法生成比特流)

  • route 后的 CRITICAL WARNING 数量(> 0 通常意味着潜在功能风险)

  • 时序是否收敛(WNS/WHS 是否 met)

返回结论:

  • READY:本次有限检查通过;不证明完整签核或硬件功能

  • BLOCK:存在阻塞性问题(route 未完成 / 时序违例 / 大量 CW)

  • WARN:可以生成但有风险(少量 CW 或估算时序偏低)

Args: impl_run: 实现 run 名称,默认 "impl_1"。 session_id: 目标会话 ID。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
impl_runNoimpl_1
session_idNodefault

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.25

TDQS

A4.1/5.0
Behavior5/5

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

With no annotations provided, the description carries the full behavioral disclosure burden and does this exceptionally well. It specifies exactly what is inspected (route completion, CRITICAL WARNING count, WNS/WHS convergence) and defines the READY/BLOCK/WARN outcomes, including the important limitation that READY is not proof of complete sign-off or hardware functionality. This gives the agent accurate expectations well beyond the bare schema.

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?

The description is well-structured with a short introduction, bulleted check dimensions, and explicit return outcomescars. Every section earns its place, and the content is scannable for an agent deciding whether to invoke the tool. The length is justified by the composite nature of the tool.

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?

For a composite tool with two optional parameters and an output schema, the description is remarkably complete: it covers purpose, invocation timing, checked dimensions, outcome meanings, and limitations. The only notable gaps are the imprecise WARN/BLOCK threshold and the lack of deeper session_id semantics, but these are minor given the presence of an output schema.

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 compensate for the lack of parameter documentation. The Args section adds minimal meaning by labeling impl_run as an implementation run name and session_id as a target session ID, but this mostly restates the schema titles/defaults. It does not explain session lifecycle, required session state, or how the run name affects checks.

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 clearly states the tool's purpose: checking implementation status, timing summary, and critical warnings before bitstream generation. It enumerates the exact check dimensions, so an agent understands what is covered and that this is a composite readiness check. It stops short of explicitly differentiating itself from sibling tools like get_critical_warnings or get_timing_report, but the aggregate PASS/BLOCK/WARN framing makes the distinction clear enough.

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 description gives a strong usage trigger: use this tool immediately before generate_bitstream or program_device, framing it as a last check before departure. It explains that the tool catches issues before board flashing, which is clear context for when to use it. However, it does not list alternative tools or explicitly say when not to use it.

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