Skip to main content
Glama
u9401066

asset-aware-mcp

by u9401066

table_cite

Manage table cell citations by adding, retrieving, or removing source references such as PDF sections or URLs, without altering the table data.

Instructions

📎 表格引用管理:為儲存格附加、查詢、移除來源引用。

引用是「平行附加層」,不改變表格資料結構。 每個引用用 AssetRef 指向具體來源(PDF section、URL、使用者輸入等)。

Operations:

  • add: 新增引用到儲存格

  • get: 查詢引用(cell / row / table)

  • remove: 移除引用

  • cell_history: 查看儲存格變更歷史

Args: operation: 操作類型 table_id: 表格 ID row_index: 列索引 (0-based),get 時可省略取得全表引用 column_name: 欄位名,get 時可省略取得整列引用 refs: [add] 引用列表,每項為 AssetRef dict [{"source_type":"section","doc_id":"doc_xxx","asset_id":"sec_01","excerpt":"..."}] [{"source_type":"external","url":"https://doi.org/...","label":"Smith 2024"}] [{"source_type":"user_input","excerpt":"Patient reported"}] confidence: [add] Agent 信心度 0.0~1.0 notes: [add] 備註 ref_index: [remove] 移除特定引用索引(不指定則移除整個 cell 引用)

Examples: table_cite("add", "tbl_xxx", row_index=0, column_name="Drug", refs=[{"source_type":"section","doc_id":"doc_a","asset_id":"sec_01", "excerpt":"dose was 5mg"}], confidence=0.9) table_cite("get", "tbl_xxx") # 全表引用 table_cite("get", "tbl_xxx", row_index=0) # 全列引用 table_cite("cell_history", "tbl_xxx", row_index=0, column_name="Drug")

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
operationYes
table_idYes
row_indexNo
row_idNo
offsetNo
limitNo
column_nameNo
refsNo
confidenceNo
notesNo
ref_indexNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

With no annotations, the description explains that citations are parallel and do not alter table data structure. It lists operations. However, it does not disclose details like idempotency of add, persistence of removals, or behavior under concurrent edits. It provides basic behavioral insight but not comprehensive.

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 description is well-organized with an emoji intro, bullet list of operations, parameter table, and multiple examples. It is longer than necessary, but the structure aids readability. Every part adds value, though some repetition occurs.

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?

Given 11 parameters and 4 operations with an output schema, the description covers core use cases and parameters. However, it omits details on return values (despite output schema existing), error scenarios, and some less common parameters like offset and limit. It provides a solid foundation but is not fully complete.

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 description coverage is 0%, so the description carries the burden. It explains key parameters like operation, table_id, row_index (0-based, optional for get), column_name, refs format with examples, and operation-specific params. However, it does not explain offset, limit, row_id, or the coverage operation, leaving gaps.

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 manages citations (attach, query, remove) on table cells. It uses specific verbs and defines resource scope (table cells). While it doesn't explicitly differentiate from sibling tools like 'citation_bundle' or 'verify_citation_ref', the focus on table cell-level citation management is evident.

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?

The description provides context on when to use each operation and examples for common cases. However, it lacks explicit guidance on when not to use this tool versus alternatives among the many sibling tools. It explains the non-destructive nature but no exclusions.

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/u9401066/asset-aware-mcp'

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