Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as RetailHardHat - AI Powered Construction Management for Tasks, Bids, RFPs, RFIs, Budgets and Permits. If you published it, claim ownership there.

Set Document Folder Visibility

set_document_folder_visibility
Destructive

Change vendor portal visibility. Sharing changes require explicit review. MCP approval requirements are configurable by the organization administrator; business workflow approvals always apply.

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": {
      "folderId": "<folderId>",
      "data": "<data>"
    },
    "name": "set_document_folder_visibility"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataYes
folderIdYes

Output Schema

NameRequiredDescriptionDefault
dataYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.6/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false and idempotentHint=false, so the safety profile is covered. The description adds genuinely new context: sharing changes require explicit review and business workflow approvals always apply. It does not say what is lost when visibility is turned off (e.g. vendor access removal) or whether the change is reversible.

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?

Only three short sentences, but the opening one is under-specified and the two approval sentences partially overlap ('explicit review' vs 'business workflow approvals always apply'). It is compact yet not front-loaded with the essential information.

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?

This is a destructive nested-parameter mutation with an output schema (so return values need not be explained), but the description leaves parameter meaning, precondition checks, and the effect of disabling portal visibility entirely unaddressed. For this complexity, the definition is thin.

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% and the schema is a nested object with folderId, showInPortal, portalVisibility (enum), siteId and vendorIds. The description explains none of these—not even the interaction between portalVisibility=specific_vendors and the vendorIds list, or the 25-item cap. It only loosely gestures at 'visibility' and 'sharing'.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Change vendor portal visibility" gives a verb and a general resource, but never says it operates on a document folder specifically, nor does it distinguish this from sibling set_site_document_visibility. An agent can guess the domain but must read the name and schema to know the actual target.

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?

There is no guidance on when to use this tool versus get_document_folder_visibility (read the current state first) or set_site_document_visibility (the site-level counterpart). The approval sentences describe process constraints, not tool selection criteria.

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