Skip to main content
Glama

Who sees a folder or file

who_sees
Read-only

Who can see or change a folder or a file of the project, by name, with whether each reads or writes, through which group, and who manages the project; for a path inside a folder, the answer also names the folder or file whose line decides it (set_on). Or, with person, what one person or agent sees: their groups, folders and files, their open tasks, and, for someone who manages the project, the places they see that name or link to files closed to them. It answers only for what this person can open: for anything else the answer is that nothing there is open to them.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "who_sees"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathNoA folder (ending in /) or a file, like finance/ or contracts/sow.md, or its § address.
personNoOr: a person or agent, by member id (m-xxxxxx) or name, to see what they see.
projectNoThe project's slug, from open_project, like acme. Not needed when a § address names the project, or when the person is on one project.

Output Schema

NameRequiredDescriptionDefault
heldNo
kindNo
listNo
nameNo
pathNo
filesNo
groupsNo
peopleNo
personNo
set_onNo
foldersNo
managesNo
signed_inNo
open_tasksNo
folders_moreNo
names_closedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed17 schema fields changed
    • addedInput schema / properties / person
      Added value: +{
      +  "description": "Or: a person or agent, by member id (m-xxxxxx) or name, to see what they see.",
      +  "maxLength": 120,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • removedInput schema / required
      Removed value: -[
      -  "path"
      -]
    • addedOutput schema / properties / files
      Added value: +{
      +  "type": "number"
      +}
    • addedOutput schema / properties / folders
      Added value: +{
      +  "items": {
      +    "additionalProperties": {},
      +    "properties": {
      +      "files": {
      +        "type": "number"
      +      },
      +      "level": {
      +        "type": "string"
      +      },
      +      "path": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "path",
      +      "files",
      +      "level"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / folders_more
      Added value: +{
      +  "type": "number"
      +}
    • addedOutput schema / properties / groups
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / held
      Added value: +{
      +  "type": "number"
      +}
    • addedOutput schema / properties / kind
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / list
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "additionalProperties": {},
      +        "properties": {
      +          "level": {
      +            "type": "string"
      +          },
      +          "path": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "path",
      +          "level"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedOutput schema / properties / manages
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / name
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / names_closed
      Added value: +{
      +  "additionalProperties": {},
      +  "properties": {
      +    "cut": {
      +      "type": "boolean"
      +    },
      +    "found": {
      +      "items": {
      +        "additionalProperties": {},
      +        "properties": {
      +          "address": {
      +            "type": "string"
      +          },
      +          "closed": {
      +            "type": "string"
      +          },
      +          "line": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "text": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "address",
      +          "line",
      +          "text",
      +          "closed"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "more": {
      +      "type": "number"
      +    }
      +  },
      +  "required": [
      +    "found",
      +    "more",
      +    "cut"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / properties / open_tasks
      Added value: +{
      +  "additionalProperties": {},
      +  "properties": {
      +    "count": {
      +      "type": "number"
      +    },
      +    "for_them": {
      +      "items": {
      +        "additionalProperties": {},
      +        "properties": {
      +          "address": {
      +            "type": "string"
      +          },
      +          "title": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "title",
      +          "address"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "count",
      +    "for_them"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / properties / people / items / properties / via
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / person
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / signed_in
      Added value: +{
      +  "type": "boolean"
      +}
    • removedOutput schema / required
      Removed value: -[
      -  "path",
      -  "people"
      -]
  2. Changed1 schema field changed
    • addedOutput schema / properties / set_on
      Added value: +{
      +  "type": "string"
      +}
  3. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already establish read-only, non-destructive, closed-world behavior. The description adds meaningful disclosure beyond that: results are filtered to what the subject can open ("for anything else the answer is that nothing there is open to them") and explains set_on lineage for paths inside a folder. It does not cover rate limits or error conditions, so a 4 rather than 5.

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 content is relevant, but it is delivered as two long run-on sentences with nested clauses and semicolons that are hard to parse. The core purpose is front-loaded, yet restructuring into shorter, mode-specific sentences would materially improve readability without losing information.

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?

This is a moderate-complexity read tool with a full annotations profile, 100% schema coverage, and an output schema, so the description needn't restate return formats. It covers both modes and the visibility constraint well enough for correct invocation, with only minor ambiguity around edge cases.

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 the schema already explains path syntax, person identifiers, and project slug defaults in detail. The description reinforces the mode semantics (with person vs with path) but adds little parameter-level meaning beyond what the schema provides, matching the baseline 3.

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 names a specific verb and resource (who can see/change a folder or file) and clearly separates two modes: path-based access listing and per-person visibility. It is discernible from siblings like set_access or list, but the dense phrasing and lack of explicit sibling contrast keep it from a 5.

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

Usage Guidelines4/5

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

It gives clear context for the two call modes — pass a path for a folder/file's access breakdown, or pass person to see one person's visible groups, folders, files and open tasks. It stops short of naming when to choose this over set_access/set_role, so it lacks exclusions.

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