Skip to main content
Glama

uof_custom_apply_form

Submit a form application using the form structure obtained via get_form_structure_by_id. Input form version ID, applicant, first signer, and field values to get a TaskId.

Instructions

正式起單,成功回傳 TaskId(後續查詢與結案都要用到,務必保存)。

何時使用:已用 get_form_structure_by_id 確認這張表單要帶哪些欄位後,要正式送出時。 呼叫端只要挑表單、填內容即可——這張表單背後怎麼起(系統內部用哪種方式)不需要你管

限制:起單不會驗證網頁必填欄位,缺欄位仍可能起單成功但內容不完整;附檔、多站/並簽會簽尚未支援。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fieldsYes起單內容,**形狀依該表單而定,請先用 get_form_structure_by_id 查**:一般表單帶 {fieldId: 值}(明細欄位帶列清單 {"004":[{"004_1":"品名","004_3":5}]});少數客製表單(如採購單)帶該表單說明的內容(主旨/供應商/明細…)。
commentNo申請者意見(選填)
urgent_levelNo緊急程度:0 緊急 / 1 急 / 2 普通2
form_version_idYes表單版本代號,由 get_form_list 取得
applicant_accountYes申請者帳號;web 起單表單必須等於目前 MCP 的 UOF_ACCOUNT
first_signer_accountYes第一站簽核者帳號(SOAP 自由流程必填,請先向使用者確認送給誰簽);網頁起單的表單(如採購單)由表單自身流程決定簽核者,此參數會被略過

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

No annotations provided, so the description carries full burden. It discloses that submission does not validate required fields, attachments are unsupported, and first_signer_account is ignored for web forms. However, it does not detail authentication requirements or error handling.

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 concise, front-loading the critical output (TaskId), followed by usage context and limitations. Every sentence adds value without redundancy.

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?

Given the tool's complexity (6 parameters, nested object) and the presence of an output schema, the description covers prerequisites, parameter usage, and limitations. It lacks explicit error handling details but is otherwise comprehensive.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 100% schema coverage, baseline is 3. The description adds significant context: explains fields parameter shape depends on form, clarifies first_signer_account behavior for SOAP vs web forms, and notes applicant_account must equal UOF_ACCOUNT for web forms—all beyond the schema.

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 clearly states the verb and result ('正式起單,成功回傳 TaskId'), distinguishing it from sibling tools like get_form_structure and query_forms. It specifies the resource (form submission) and the key output (TaskId).

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?

Explicitly states when to use ('已用 get_form_structure_by_id 確認...後,要正式送出時') and provides limitations ('不驗證必填欄位','附檔、多站/並簽會簽尚未支援'), which serve as guidance for when not to use.

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/asgard-ai-platform/mcp-uof'

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