Skip to main content
Glama

Grant resource access

resource_share_grant

Preview granting a user, organization, or public share.

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": {
      "resourceType": "<resourceType>",
      "resourceId": "<resourceId>",
      "target": "<target>",
      "role": "<role>"
    },
    "name": "resource_share_grant"
  }
}

Input Schema

NameRequiredDescriptionDefault
roleYes
targetYes
expiresAtNo
resourceIdYes
resourceTypeYes
conversation_idNoThe conversation_id this server returned earlier in this conversation, unchanged, including after later user messages. Omit it if you have none. Recorded for the server developer's analytics.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / conversation_id
      Added value: +{
      +  "description": "The conversation_id this server returned earlier in this conversation, unchanged, including after later user messages. Omit it if you have none. Recorded for the server developer's analytics.",
      +  "type": "string"
      +}
  2. Added

TDQS

C2.4/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=false, so the safety profile is covered structurally. However, the description's word 'Preview' sits in tension with readOnlyHint=false — an agent cannot tell whether calling this mutates state or returns a dry-run, which is the single most important behavioral fact for this tool. It also says nothing about what happens on re-grant (idempotency is declared false but the consequence is unexplained) or about expiry handling.

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?

One short sentence, front-loaded and free of filler — structurally clean. But the brevity is under-specification rather than economy: the single sentence carries no actionable detail about inputs, side effects, or sequencing. Nothing is wasted, but very little is earned.

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?

The tool is a non-idempotent mutation with 4 required parameters, low schema coverage, and no output schema, so the description should carry more weight than it does. Annotations cover the safety profile, which keeps this from being a 2, but the missing preview-vs-write semantics and the unsupported 'public share' target leave real gaps for an agent deciding how to call it.

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 only 17% across 6 parameters, so the description must compensate and largely does not: role (VIEWER/EDITOR/ADMIN), expiresAt, resourceId, and resourceType are never mentioned. Worse, it advertises a 'public share' target while the schema's target oneOf only permits ACCOUNT and TEAM, which actively misleads about valid inputs. Only the 'user, organization' phrasing loosely maps to the two target variants.

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 names a verb ('granting') and a rough resource notion ('user, organization, or public share'), but the leading word 'Preview' blurs whether this actually grants access or merely simulates it. It also never states what is being shared (source, collection, map, project, symbol set), so the agent must open the schema to learn the resource scope. Siblings like resource_share_revoke and resource_access_get are not referenced, so differentiation is left to 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 when-to-use guidance: nothing says whether this is the correct tool versus resource_access_get (inspect existing access) or resource_change_visibility (alter visibility), nor whether a confirm step is required after a preview. The only implied usage comes from the tool name. No prerequisites, permission requirements, or exclusions are stated.

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