Skip to main content
Glama
naubergois

FileAgent

by naubergois

doc_checkout

Acquire an editing lock on a document to get exclusive access, returning content, hash, and lock token. Prevents concurrent modifications by signaling other agents with a locked status.

Instructions

Adquire lock de edição e devolve content + hash + lock_token. Outro agente recebe code=locked.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
doc_idYes
agent_idNo
share_tokenNo
ttl_secondsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.2.0

TDQS

B3.3/5.0
Behavior4/5

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

With no annotations provided, the description carries the full behavioral burden. It discloses that the tool acquires an edit lock, returns content/hash/lock_token, and that concurrent callers receive code=locked. It does not disclose TTL expiration, release obligations, or authorization requirements, but the core behavioral traits are clearly communicated.

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 compact: two sentences front-load the core action and return values. The note about another agent receiving code=locked is useful but slightly tangential; overall the text is appropriately concise for the behavior it conveys.

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 covers the main behavior and return contract, and an output schema exists, so return-value documentation is not the primary gap. However, with no annotations and 0% parameter schema coverage, important call-time details such as how ttl_seconds or share_token affect checkout behavior are missing, leaving the definition incomplete for a tool with four parameters.

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

Parameters1/5

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

Schema description coverage is 0% and the description provides no parameter-level semantics. The four parameters (doc_id, agent_id, share_token, ttl_seconds) are entirely undocumented in the prose, so an agent has no additional guidance about what these values mean or how to supply them correctly.

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 states a specific action ('Adquire lock de edição') and names the expected return payload (content + hash + lock_token), making the tool's purpose clear. It implicitly distinguishes itself from read-only siblings like doc_read/doc_get by emphasizing the lock acquisition, though it does not name an alternative explicitly.

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 implies that the tool should be used when an edit lock is needed, and the note about another agent receiving code=locked conveys exclusivity. However, it does not provide explicit when-to-use versus when-not-to-use guidance, nor does it suggest alternatives such as doc_read or doc_get for non-locking reads.

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

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/naubergois/FileAgent'

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