Skip to main content
Glama

desktop_viewer_grant_create

Mint a short-lived, origin-bound viewer URL for the shared workspace desktop.

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": {
      "workspaceSlug": "<workspaceSlug>",
      "body": "<body>"
    },
    "name": "desktop_viewer_grant_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYes
workspaceSlugYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, openWorldHint=false, so the safe, non-destructive profile is known. The description adds real behavioral context beyond that: the resulting URL is short-lived and bound to an origin, which is a security constraint an agent must respect. It omits the actual lifetime, whether prior grants are revoked, and any permission prerequisites, so it does not fully discharge its burden.

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?

A single dense sentence with the key qualifiers (short-lived, origin-bound, shared workspace desktop) front-loaded and no filler. Nothing could be removed without losing information.

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?

For a credential-minting mutation whose safety traits are covered by annotations and which has no output schema, the definition names the returned artifact (viewer URL) but leaves the lifetime of 'short-lived', the permission model, and the origin-matching behavior unspecified. Adequate to start, incomplete for confident invocation.

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 0% across two required parameters, including a nested object, so the description has to compensate. It partially does: 'origin-bound' explains the intent of embedOrigin and 'shared workspace' maps to workspaceSlug. It adds no format, validation, or default guidance, so meaning beyond the schema is thin.

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 gives a specific verb and resource ('Mint a ... viewer URL') plus qualifiers that define the artifact: short-lived, origin-bound, scoped to the shared workspace desktop. An agent can tell this produces an embeddable viewer credential rather than a share or a file, though it never names a sibling to contrast with.

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 explicit when-to-use or when-not-to-use guidance and no mention of the alternative approaches (e.g. share_create) an agent might weigh. Only an implicit precondition is conveyed: the desktop must already be 'shared' for this to apply.

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.