Skip to main content
Glama

Get portal link

get_portal_link
Read-onlyIdempotent

Get the URL of a device, policy or library app in the Nomid portal, to show the user where to see or manage it, or of a fixed portal page (kind "page": the dashboard, the devices or policies list, the library, enrollment, a company settings tab such as users, billing or ai_agents, an integration such as android_enterprise or sso). Needs the id of the object (the "pathName" of an asset or policy, an app's package name, or the page's key). Returns a tool error if the object does not exist in this company or is not visible to the caller, or if the signed-in user may not open the page; the link only opens the page, the portal still applies the signed-in user's own permissions.

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": {
      "kind": "<kind>",
      "id": "<id>"
    },
    "name": "get_portal_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe identifier: the asset's or policy's path name (the "pathName" returned by search_devices, get_device and list_policies), the app's package name, or for a page one of: dashboard, devices, policies, policy_groups, library, library_contacts, library_files, enroll, new_device, zero_touch, company, company_settings, account, users, roles, device_users, security, api_keys, ai_agents, billing, integrations, android_enterprise, sso.
kindYesWhat to link to: a device (asset), a policy, a library app, or a fixed portal page.
companyNoOptional: a `company` value from list_companies to run this in. Omit it for the connection's own company.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the safety profile is covered. The description goes beyond that with failure semantics (error when the object does not exist in the company, is not visible to the caller, or the user may not open the page) and an important caveat that the link only opens the page while the portal still enforces the signed-in user's own permissions. It does not state the success return shape beyond implying a URL, which keeps it from a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded in the first clause, which is good, but the sentence then re-lists every page key (dashboard, devices, policies, ai_agents, sso, ...) that the schema enum already enumerates, adding bulk without new information. The nesting of parentheticals makes it dense to parse.

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?

There is no output schema, but the description compensates by explaining that a URL is returned and by detailing the error conditions. Combined with the annotations and the fully documented schema, an agent has everything needed to invoke this read-only tool correctly; only the exact success payload shape is left implicit.

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?

Schema description coverage is 100%, so the id, kind, and company parameters are already fully documented, including the enum of page keys. The description's parenthetical restates the same mapping (pathName for assets/policies, package name for apps, page key for pages) without adding format or syntax detail beyond the schema, so the baseline of 3 applies.

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: 'Get the URL of a device, policy or library app in the Nomid portal', and extends it to fixed portal pages. It names all four kinds the tool handles and the id forms each requires, so an agent can tell exactly what it produces without reading the schema.

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?

It states the use case clearly ('to show the user where to see or manage it') and enumerates the linkable page targets, giving an agent enough context to decide when to call it. It stops short of naming an alternative or an explicit when-not-to-use condition, so it does not reach the top of the scale.

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