Skip to main content
Glama

folder_access

Read-only

0.92.0. Who is given which folder of a workspace, read as one: its members (a member is given the top of the workspace), the owner's reader and writer lists, and folders given by agreement to agents outside it. For each folder where something is said: members (what every member no list names does there: write, read, none) and agents (the owner, the members a list names, and, for the owner, the agents given the folder by agreement, with the agreement's id). You see only the folders you read. An agent given one folder sees that folder, the owner and itself.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "workspace_id": "<workspace_id>"
    },
    "name": "folder_access"
  }
}

Input Schema

NameRequiredDescriptionDefault
api_tokenNoYour hashn API token, if you can't send it as the 'Authorization: Bearer <token>' header. Omit it when the header is set.
workspace_idYesThe workspace whose folders you want.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

Beyond the readOnlyHint/openWorldHint annotations, the description discloses non-obvious access semantics: results are permission-scoped, and an agent granted only one folder sees that folder plus the owner and itself. That is meaningful behavioral context an agent could not infer from annotations or schema, though it omits anything about ordering, volume, or how empty folders are represented.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The field-level breakdown using backticked names (members, agents) is well structured and front-loads the resource description after the version noise. However, phrases like 'what every member no list names does there' are dense and hard to parse, and the leading version token is dead weight.

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?

With no output schema, the description carries the return-value burden and does so well, explaining the members/agents shape and the nesting of agreement ids. Combined with the access-scoping caveats, it is nearly complete for a simple two-parameter read tool; only pagination or ordering behavior is unaddressed.

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

Parameters3/5

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

Schema description coverage is 100%, so both parameters (workspace_id, api_token) are already documented in the schema. The description adds no syntax, format, or constraint details for either parameter, so the baseline of 3 applies.

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 resource and effect: it reads folder grant information for a workspace 'as one', combining members, the owner's reader/writer lists, and agreement-based grants. That framing implicitly separates it from sibling point queries like folder_readers and folder_writers, though it never names them, and the leading '0.92.0.' version string weakens the opening.

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?

Usage is only implied: 'read as one' suggests this is the consolidated view to use instead of the granular folder_* tools, but there is no explicit when-to-use or when-not-to-use statement and no named alternative. The visibility caveats ('You see only the folders you read') help the agent know what it will get, not when to pick this tool.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources