Skip to main content
Glama

uof_custom_query_forms

Query UOF forms by date range and keyword to get TaskIds, enabling access to form details and approval actions.

Instructions

搜尋 UOF 表單(依日期範圍 + 關鍵字),回傳含 TaskId 的清單。

何時使用:使用者沒有 TaskId、但想列出自己最近的單或搜尋特定關鍵字時。 本工具是補上「UOF 一代沒有待簽清單 API」這個缺口最直接的入口; 取得 TaskId 後可丟給 get_task_data / get_task_result 看單張詳情。

限制:

  • 範圍是「目前帳號可看到的單」,等同於使用者在 UOF 網頁「查詢表單」頁所看到的範圍。

  • 只取第一頁結果;極端情況需要更精確過濾請縮日期範圍或加關鍵字。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
date_toNo申請日期迄 (yyyy/mm/dd);留空則預設為「今天」
keywordNo關鍵字(可查表單編號、標題、申請者、內容);留空則只用日期過濾
date_fromNo申請日期起 (yyyy/mm/dd);留空則預設為「今天往前 7 天」
max_resultsNo最多回幾筆(只看第一頁;預設 50,UOF 一頁通常 10–20 筆)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations, the description carries full burden. It discloses scope (visible to current account), pagination (first page only), and default behavior. Does not explicitly state read-only or auth requirements, but given the context, the behavioral traits are adequately covered.

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?

Five sentences efficiently cover purpose, usage, and limitations. Front-loaded with the core action. No unnecessary words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a search tool with output schema, the description covers purpose, usage, parameter behavior, and limitations. It provides sufficient context for an AI to select and invoke correctly, especially given sibling tool context and output schema existence.

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% with descriptions, but the description adds valuable context: default date ranges (today, last 7 days), keyword fields, max_results default and practical limit. This exceeds the baseline 3 for high schema coverage.

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 tool searches UOF forms by date range and keyword, returning a list with TaskId. It distinguishes from siblings by positioning itself as the entry point to obtain TaskId for use with get_task_data/get_task_result.

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 (user lacks TaskId and wants to list recent forms or search keywords). Provides alternative, mentions it fills a gap, and gives limitation about only first page, suggesting narrowing date/keyword for precision.

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