Skip to main content
Glama

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; set it with configure_block connectionId.

Input Schema

NameRequiredDescriptionDefault
hostTypeYesIdentifies 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.
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. First observed

TDQS

A4.5/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the disclosure burden, and it does well: it makes clear the tool only mints a URL rather than connecting the account, names the rejection condition, and points to list_connections for observing the resulting state. It stops short of stating whether the URL expires or must be opened interactively by the user, which matters for a human-in-the-loop OAuth flow.

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 clause, followed by parameter sourcing and then follow-up steps, with no filler sentences. It is dense but every sentence carries usable information; slightly heavier punctuation-based compression would improve scanability.

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, no-annotation, no-output-schema tool, the description covers purpose, error behavior, parameter provenance, and the post-connection workflow. Remaining gaps are URL lifetime/expiry and the required user interaction, which are minor relative to what is already stated.

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 75%, so the schema already documents hostType provenance in detail; the description still adds a source the schema does not mention (get_block_schema connectionInfo) and groups the three identifying parameters, which helps the agent source them consistently. workspaceId receives no mention in either the description or schema, leaving one required parameter semantically thin.

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: it returns an OAuth sign-in URL for a service requiring a connection. It also separates itself from siblings by clarifying that list_connections retrieves the resulting connection and configure_block applies it, so an agent can tell this apart from the connection-management tools without opening 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?

Explicitly scopes use to OAuth-based services and states the negative case (rejected for a service that does not use OAuth). It also supplies the full workflow: obtain identifiers from get_block_schema connectionInfo or a search/list row, then list_connections and configure_block after the account is connected.

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