Skip to main content
Glama

Publish a private CRID

publish_crid

Publish a private-access URL for an app with credentials, invite-only email invitations, verified email capture, review, or contract entitlement access.

Instructions

Publish a URL with private access. Supply app_name: a short public title recipients see, without secrets or hidden origin details. It names a new resource; reuse keeps the stored name. Choose keys for approved credentials, invite_only for publisher email invitations with no access requests, email_capture for verified email capture with consent, review for verified email requests, or contract for a publisher backend entitlement receipt. This tool does not verify payment. Use version 1 for creation. Repeating this call creates another resource; after an uncertain result use get_qurl or list_qurls before retrying. For local apps use the qURL CLI. Public sharing uses create_qurl.

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": {
      "target_url": "<target_url>",
      "app_name": "<app_name>",
      "policy": "<policy>"
    },
    "name": "publish_crid"
  }
}

Input Schema

NameRequiredDescriptionDefault
policyYes
app_nameYes
target_urlYes

Output Schema

NameRequiredDescriptionDefault
cridYes
privateYes
resource_idYes
consumer_accessYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.2.8
    • addedInput schema / properties / app_name
      Added value: +{
      +  "maxLength": 100,
      +  "minLength": 1,
      +  "pattern": "^[^\\p{Cc}\\p{Cf}\\u2028\\u2029]*$",
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "target_url",
      -  "policy"
      -]New value: +[
      +  "target_url",
      +  "app_name",
      +  "policy"
      +]
  2. Addedv0.2.2

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=false and idempotentHint=false, but the description goes further by spelling out the consequence: 'Repeating this call creates another resource,' plus a concrete recovery path after an uncertain result. It also discloses that reuse of app_name keeps the stored name and that the tool does not verify payment — real behavioral context beyond the annotations, with no contradiction.

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?

Purpose is front-loaded in the first sentence, followed by naming rules, mode selection, and retry safety. The prose is dense and telegraphic ('Use version 1 for creation') and every sentence carries information, though the compressed style makes some clauses slightly harder to parse than necessary.

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

Completeness4/5

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

For a non-idempotent mutation with a nested policy object and an output schema, the description covers naming, mode selection, version, and retry recovery. It does not mention authorization or ownership requirements, which is the main remaining gap, but return values are covered by the output schema.

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 description coverage is 0%, so the description must carry all parameter meaning. It explains app_name's purpose ('short public title recipients see, without secrets or hidden origin details'), its naming/reuse semantics, the full policy.mode enum meanings, and the version value. Only target_url is left implicit, so it compensates well but not fully.

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 description opens with a concrete verb+resource: 'Publish a URL with private access,' and immediately differentiates itself from siblings by stating 'Public sharing uses create_qurl.' An agent can distinguish this from create_qurl, get_qurl, and list_qurls without opening any schema.

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 enumerates the five policy modes with a one-line rationale for each (keys, invite_only, email_capture, review, contract), states which version to use, and names two alternatives with the conditions selecting them: get_qurl/list_qurls after an uncertain result, and the qURL CLI for local apps. Explicit when-to-use and when-not-to-use guidance is present.

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