Skip to main content
Glama

Supabase: Get public url

supabase_get_public_url
Read-only

Retrieves the public URL of a file in a Supabase public bucket, enabling direct access or sharing for files already exposed publicly.

Instructions

[UNIFIED] Get the public URL for a file. Only works for files in public buckets.

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": {
      "site": "<site>",
      "bucket": "<bucket>",
      "path": "<path>"
    },
    "name": "supabase_get_public_url"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes
siteYes
bucketYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv3.14.0
  2. Removedv3.13.1
  3. First observedv3.4.0

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered. The description adds a genuine behavioral constraint — the operation fails outside public buckets — but says nothing about whether the returned URL is permanent, signed, or CDN-backed, which matters for how an agent uses the result.

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?

Two short sentences with the core purpose stated first and the constraint immediately after; no filler. It is arguably too terse for a three-parameter tool, but sentence-level structure is efficient.

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

Completeness2/5

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

With three undocumented parameters, no output schema, and only a readOnlyHint annotation, the description leaves key questions open: parameter meanings, error behavior for private buckets, and what the returned URL looks like. It is adequate as a one-line summary but incomplete for correct invocation.

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 0% for three required parameters (site, bucket, path), so the description carries the full burden and does not meet it. It never explains what 'site' identifies or that 'path' is the file path within the named bucket.

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?

States a specific verb and resource ('get the public URL for a file'), which is unambiguous and implicitly separates it from URL tools for functions or media uploads. It does not explicitly name a sibling to contrast with, so it falls short of full differentiation.

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

Usage Guidelines3/5

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

The clause 'Only works for files in public buckets' gives a clear precondition/exclusion, which is more than nothing. However, it offers no guidance on what to use instead for private buckets or how to handle a public-bucket check, leaving the agent to infer the alternative.

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

Deploy Server

Other Tools