Skip to main content
Glama

Turn off a result's public link

revoke_share_link
DestructiveIdempotent

Turns off the public link to one of your results and keeps the result: the run is not deleted, get_simulation_results still returns it, and it can be shared again. Use this when the user wants a link they shared to stop working but wants to keep the result. When the user wants the result itself removed, use delete_run instead: it deletes the result and its link. Pass the run_id of the shared result, not the link or a graph_id. From then on anyone who opens the old link gets "not found", and that link never works again; that is why this tool is marked destructive, though it deletes nothing. It returns revoked true, or false when the run had no active link, so calling it again is harmless. To share the result again, call create_result_share_link: it makes a new link. It needs a Neumann account: send your key, or your signed-in token, in the Authorization header as a Bearer credential. No Neumann tool takes an api_key argument. Cost: free -- it debits no credits and spends none of your free daily runs -- but it needs an account; an anonymous caller gets account_required.

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": {
      "run_id": "<run_id>"
    },
    "name": "revoke_share_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
run_idYesThe run whose public link to turn off, as passed to create_result_share_link. The result is kept.

Output Schema

NameRequiredDescriptionDefault
billingNoWho you are and what this call cost: principal, auth source, credits debited and balance, or the anonymous allowance left today.
revokedYesTrue when an active link was just turned off; false when the run had no active link. The result is kept either way.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and idempotentHint=true, and the description adds substantial context: why the destructive flag is set even though nothing is deleted, that old links return 'not found' forever, and that a repeat call returns revoked=false harmlessly. It also discloses the auth requirement (Bearer key or token, no api_key argument) and cost (free, no credits or daily runs debited).

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 core behavior and the routing to alternatives are front-loaded, and nearly every sentence adds information. There's minor redundancy around repeat calls and 'that link never works again,' but the density is justified for a tool whose misuse permanently breaks shared URLs.

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 a single-parameter mutation with an output schema, the description covers the remaining intangibles: retention of the result, permanence of revocation, idempotency, auth, and cost. An output schema exists, so the brief note on the revoked boolean is a bonus rather than a requirement.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline would be 3, but the description adds real disambiguation: pass the run_id of the shared result, not the link or a graph_id. That prevents a plausible and costly misuse.

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 specific verb and resource: turning off a result's public link while keeping the result. It explicitly distinguishes this from delete_run (which removes the result) and from create_result_share_link (which re-shares), so an agent can pick the right tool without inspecting schemas.

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 states the triggering user intent ('wants a link they shared to stop working but wants to keep the result') and names the alternative for the opposite intent (delete_run) plus the follow-up tool for re-sharing. Exclusions are explicit, not inferred.

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