Skip to main content
Glama

Set dashboard sharing

report_set_sharing
Destructive

Replace all dashboard sharing after explicit approval and return the resulting visibility and grants; omitted grants are revoked. Read report_get_sharing first and select recipients with report_list_sharing_principals. Cannot be undone.

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": {
      "dashboardId": "<dashboardId>",
      "visibility": "<visibility>",
      "grants": "<grants>"
    },
    "name": "report_set_sharing"
  }
}

Input Schema

NameRequiredDescriptionDefault
grantsYesFull grant set
visibilityYesprivate: owner; org: workspace; restricted: grants
dashboardIdYesID

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / dashboardId / description
      Previous value: -"Dashboard ID"New value: +"ID"
  2. Added

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, but the description adds real substance: full-replacement semantics, revocation of omitted grants, irreversibility ('Cannot be undone'), an approval precondition, and that the resulting visibility and grants are returned. The only minor tension is that a full-set replacement reads as idempotent in effect while idempotentHint=false is declared, which the description does not explain.

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

Conciseness5/5

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

Two compact sentences, front-loaded with the mutation and its replace semantics, then the prerequisite reads. Every clause carries operational information with no filler.

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

Completeness5/5

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

For a 3-parameter destructive mutation with no output schema, the definition covers the mutation model, prerequisites, irreversibility, and return content. Nothing an agent needs before invoking it is missing.

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

Parameters4/5

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

Schema coverage is 100% so the baseline is 3, and the description earns above baseline by clarifying that grants is a complete set whose omissions are revoked — a semantic fact the schema's 'Full grant set' only hints at. The visibility enum and dashboardId need no further elaboration.

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

Purpose5/5

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

States a specific verb and resource ('Replace all dashboard sharing') plus the scope of the replacement ('omitted grants are revoked') and the return value. It is clearly distinguishable from the sibling reads report_get_sharing and report_list_sharing_principals, which it names.

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

Usage Guidelines5/5

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

Explicitly prescribes the workflow: read report_get_sharing first and pick recipients via report_list_sharing_principals, and requires 'explicit approval' before calling. The destructive, no-undo nature gives a clear condition for when not to call it casually.

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.