Skip to main content
Glama

Share qURL by CRID

share_by_crid

Request a temporary qURL access link for a legacy resource by CRID, optionally setting TTL for link lifetime. Use only for legacy resources without consumer_access.

Instructions

Request a temporary qURL access link for a legacy resource identified by its CRID. Only for legacy resources without consumer_access; use manage_crid_access and the policy's invitation or grant flow for consumer_access resources. Use the known resource policy. If qurl:read is available, get_qurl (without the leading $ marker) can check consumer_access. A resolve-only key can share a known legacy resource without that read; if the policy is unknown, ask the publisher, and never treat a denied read as proof that it is legacy. When the user supplies a legacy resource CRID with a leading $ marker, remove the marker and use this tool. Set ttl to request a lifetime using Go duration syntax; the total must be a positive whole number of seconds. The service may adjust the lifetime. The link is minted by the qURL API and includes its expiration and single-use metadata.

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": {
      "crid": "<crid>"
    },
    "name": "share_by_crid"
  }
}

Input Schema

NameRequiredDescriptionDefault
ttlNoRequested link lifetime in Go duration format, such as "90s", "5m", or "1h30m". The total must be a positive whole number of seconds. The service may adjust the lifetime.
cridYesCRID of the resource to turn into a temporary qURL link. Accepts either the bare CRID or the user-facing "$<CRID>" form.

Output Schema

NameRequiredDescriptionDefault
cridNoCRID associated with the generated link, when available
qurlYesTemporary qURL access link for the supplied CRID
typeYesqURL link type
qurl_idNoDisplay-friendly ID for the minted access token
expires_atNoLink expiration timestamp, when returned
single_useYesWhether the link can be used only once
expires_in_secondsYesLink lifetime in seconds

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.2.2

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the annotations, it discloses permission-dependent behavior, the ability of a resolve-only key to share a known legacy resource, and the risk of misinterpreting a denied read. It also explains that the qURL API mints the link, may adjust its lifetime, and supplies expiration and single-use metadata.

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

Conciseness4/5

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

The description is front-loaded with purpose and eligibility, then proceeds logically through policy checks, input handling, and resulting link behavior. It is dense and repeats some ttl details already present in the schema, but nearly all of its length supports correct tool selection or invocation.

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 this policy-sensitive link-minting operation, it covers eligibility, alternatives, authorization contexts, unknown-policy handling, input normalization, and lifetime behavior. The output schema and annotations supply the remaining structured response and safety information, so no important invocation prerequisite is evidently 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%, and much of the ttl guidance repeats the schema's Go-duration and positive-whole-second requirements. The description still adds operational meaning by restricting crid to eligible legacy resources and instructing the agent to remove a user-supplied leading `$`, even though the schema can accept either form.

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?

The opening sentence gives a specific action, resource, and scope: requesting a temporary qURL access link for a legacy resource identified by CRID. It immediately distinguishes the tool from manage_crid_access for resources with consumer_access.

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?

It provides explicit when and when-not guidance, including the consumer_access alternative, how get_qurl can check policy when qurl:read is available, and what to do when the policy is unknown. The warnings about resolve-only keys, denied reads, and leading `$` markers give concrete invocation guidance rather than leaving selection to inference.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.