Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as FlowRunner Prompt to Flow. If you published it, claim ownership there.

Get connection link

get_connection_url

Return an OAuth sign-in URL for a service that needs a connection. hostType/packageId/serviceId: from get_block_schema connectionInfo or a search/list row. Rejected for a service that does not use OAuth. Once the account is connected, list_connections returns the new connection; its _id is configure_block's connectionId.

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": {
      "workspaceId": "<workspaceId>",
      "hostType": "<hostType>",
      "packageId": "<packageId>",
      "serviceId": "<serviceId>"
    },
    "name": "get_connection_url"
  }
}

Input Schema

NameRequiredDescriptionDefault
hostTypeYesIdentifies an extension service together with packageId and serviceId: the three values come together from one row of search_extensions, search_shared_extensions or list_extension_services, exactly as shown; other values are rejected. null for an MCP server or a knowledge base (their rows show hostType and packageId as null). An unknown or mismatched combination is rejected.
packageIdYesFrom the same row as hostType; null if the row has none.
serviceIdYesFrom the same row as hostType.
workspaceIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / hostType / description
      Previous value: -"Identifies an extension service together with packageId and serviceId: copy all three from one row of search_extensions, search_shared_extensions or list_extension_services, exactly as shown — never retyped or guessed. null for an MCP server or a knowledge base (their rows show hostType and packageId as null). An unknown or mismatched combination is rejected."New value: +"Identifies an extension service together with packageId and serviceId: the three values come together from one row of search_extensions, search_shared_extensions or list_extension_services, exactly as shown; other values are rejected. null for an MCP server or a knowledge base (their rows show hostType and packageId as null). An unknown or mismatched combination is rejected."
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, openWorldHint=true, idempotentHint=false and destructiveHint=false, so safety is largely covered. The description adds genuinely non-obvious behavior: invalid hostType/packageId/serviceId combinations are rejected, the call yields a URL rather than a stored connection, and the connection only exists after the user completes sign-in. It does not say whether the URL expires or whether repeated calls create multiple pending sessions, which is minor given the annotation coverage.

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?

Three short sentences, front-loaded with the core action, then parameter provenance, then the downstream workflow. Dense but every sentence carries distinct information; the parenthetical provenance hint is the only slightly redundant piece since the schema repeats it.

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 four-parameter URL-generation tool with no output schema, the definition covers what is produced, what input is rejected, and what the agent should do after the user authenticates. The remaining unknowns — URL lifetime, single-use semantics, required scopes — are modest gaps rather than blockers to correct invocation.

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

Parameters3/5

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

With schema description coverage at 75%, the baseline is 3. The description reinforces where the three identifying values come from (get_block_schema connectionInfo or a search/list row) and that mismatched combinations are rejected, but this largely restates what the hostType/packageId/serviceId schema descriptions already say in detail; workspaceId remains unexplained in both places.

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?

States a specific verb and resource — 'Return an OAuth sign-in URL' — and scopes it to 'a service that needs a connection'. An agent can immediately distinguish this from list_connections or get_block_schema because the description names those as upstream/downstream steps rather than equivalents.

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

Usage Guidelines4/5

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

Gives a clear use condition (a service that needs a connection), an explicit exclusion (rejected for a service that does not use OAuth), and the follow-up path (after connecting, call list_connections and pass its _id to configure_block). It stops short of citing a full alternative flow or prerequisites such as workspace permissions, but the routing guidance is concrete and actionable.

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