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 Site Document Visibility

set_site_document_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": {
      "siteId": "<siteId>",
      "documentId": "<documentId>",
      "data": "<data>"
    },
    "name": "set_site_document_visibility"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataYes
siteIdYes
documentIdYes

Output Schema

NameRequiredDescriptionDefault
dataYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.7/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 non-idempotent, so the safety profile is partly covered. The description adds genuinely useful governance context—sharing changes require review and organizational approval settings may apply—but it never says what existing vendor shares are replaced or whether the change takes effect immediately after approval.

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?

Three short sentences with no filler, and the core action is front-loaded. However, the closing sentence about MCP approval requirements is organizational boilerplate that reads ambiguously and does not help the agent decide how to call the tool.

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?

An output schema exists, so return values need not be described, and the annotations carry the destructive/write profile. Still, for a destructive nested-parameter mutation with zero schema documentation, the description leaves the key semantics of data.showInPortal, portalVisibility, and vendorIds unexplained.

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% across three required parameters, including a nested data object with showInPortal, a portalVisibility enum, and a vendorIds array capped at 25. The description explains none of these—not when vendorIds is needed, not how the enum values interact with the boolean, and not the UUID scoping of siteId/documentId.

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?

The description says "Change vendor portal visibility," which identifies the verb (change) and a resource (vendor portal visibility) but never mentions the site or document scope that the tool name and required siteId/documentId imply. It also gives no cue distinguishing it from siblings like set_document_folder_visibility or get_site_document_visibility, so an agent must rely on the name alone.

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 statement of when to use this tool versus reading visibility first or setting folder-level visibility. The note that "sharing changes require explicit review" hints at a precondition but does not tell the agent what to do differently, and no alternative tool is named.

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