Skip to main content
Glama

pr_submit

Submit workflow change proposals (PR) for open intake, register contributors with weights, and bind optional triggers for heuristic or confirmed execution.

Instructions

提交 workflow 变更提案(PR)——open 态入库 + 贡献者登记(人/数字员工同标准权重,weight 须 0-1 数值、声明 ≤10 条)+ 可选 triggerBinding(启发式=suggested / 显式=confirmed,显式不被启发式覆盖)。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pr_idYesPR 标识
titleYes变更描述
triggerNo触发绑定 {source, confidence: suggested|confirmed}
data_dirNo数据根目录(缺省走 getDataDir 解析链)
submitterYes提交者(贡献者之一,权重 1.0)
workflow_idYes目标 workflow
contributorsNo额外贡献者([{contributor_id, weight}],weight 0-1,≤10 条)
merge_criteriaNo验收条件(内置 kind:approver-review / confidence-min(如 detail:"gte:0.7");未知 kind 判不过走 HITL)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral burden and it does provide substantive behavior: the PR is persisted in open state, contributors are registered under a uniform weight scale with a 0-1 and ≤10 constraint, and explicit trigger bindings are not overridden by heuristics. It does not cover errors, permissions, or idempotency, but the core side effects are disclosed.

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?

A single front-loaded sentence captures primary purpose first and packs only decision-relevant constraints (weight range, max contributors, trigger precedence) afterward. No filler or redundant words.

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?

The description plus 100% parameter coverage covers the data needed to invoke the tool, and the key constraints are explained. However, with no output schema and no annotations, the agent is left without guidance on the return value, failure modes, or when a sibling like pr_review should be used instead.

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 baseline is 3; the description adds value by clarifying that human and digital employee contributors are weighted uniformly, reinforcing the 0-1/≤10 constraint, and explaining the precedence of confirmed vs suggested trigger bindings beyond the schema's enum.

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 ('提交 workflow 变更提案(PR)') and specifies the resulting state ('open 态入库'), which distinguishes it from review/merge siblings like pr_review and pr_merge. It also highlights unique responsibilities: contributor registration and optional trigger binding.

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?

Usage is implied by the phrase '提交 workflow 变更提案(PR)' plus the open-state creation semantics. However, no explicit conditions, alternatives, or when-not-to-use guidance are given relative to similar tools such as workflow_submit or pr_review.

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