Skip to main content
Glama
naubergois

FileAgent

by naubergois

doc_unshare

Revoke document access by removing specific grants or share tokens. With no agent or token specified, revokes all access tokens for the document.

Instructions

Revoga grant ou share_token. Sem os dois, revoga todos os tokens do documento.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
doc_idYes
agent_idNo
share_tokenNo
from_agent_idNo

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

C2.9/5.0
Behavior3/5

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

With no annotations, the description carries the behavioral burden and does disclose an important conditional side effect: if neither grant nor share_token is provided, all tokens of the document are revoked. However, it does not mention irreversibility, authorization requirements, or how agent_id and from_agent_id affect the revocation behavior.

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 a single compact sentence that front-loads the core action and condition. It earns its place, though the extreme brevity causes ambiguity around 'grant' and 'os dois'.

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

Completeness2/5

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

For a tool with four parameters, no annotations, and no schema description coverage, the description is not complete enough. It does convey the main conditional behavior, but omits parameter mappings, usage context, and detailed effects, so an agent would struggle to invoke it correctly in many cases.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must compensate, but it only clarifies share_token and the all-token fallback. It never explains agent_id or from_agent_id, and uses the term 'grant' which does not appear in the schema, leaving the agent unable to reliably map parameters for the intended operation.

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 concrete action ('revoga') and resource ('grant ou share_token'), and explains the fallback of revoking all document tokens. This distinguishes it from doc_share, but 'grant' is not a named parameter in the schema, creating some ambiguity about what exactly is being revoked.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is given about when to use this tool versus alternatives like doc_release or doc_claim. The description implies it is the inverse of doc_share, but it does not explicitly state conditions, prerequisites, or exclusions.

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