Skip to main content
Glama

Get what needs attention

get_attention_items
Read-onlyIdempotent

What in the fleet needs a person now, ranked most urgent first (the portal's "Needs your attention" card): proposals waiting for this user's approval, an app version failing to install on devices (last 7 days, not reported installed since), a policy's devices with no contact for 7+ days, a policy's online devices still on an older version of it, and the security grade's top policy finding. Computed by Nomid from stored data: repeat the numbers as given. With itemId: that item and up to 50 of its devices. Use it for "what needs my attention", "anything wrong with my fleet", a morning check, or a message tagged [attention:]. Each item has a suggestedAction; any change is only a proposal a person approves.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_attention_items"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemIdNoAn item's id (from a previous call, or the [attention:<id>] tag of the user's message) for that item alone with its devices. Omit for every item.
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. Added

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare read-only, idempotent, non-destructive, closed-world, so the bar is lower — yet the description adds substantial behavior: results are precomputed and literal ("repeat the numbers as given"), ordering is most-urgent-first, itemId truncates devices at 50, and every change surfaced is only a proposal a person approves. That last point is critical context an agent would otherwise misread as an executable action.

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 purpose and ranking are front-loaded in the first clause, and every sentence carries information — no filler or restatement of the title. The opening sentence is long and comma-heavy due to the five-category enumeration, which slightly hurts scannability.

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?

With no output schema, the description does the work of describing the return shape: ranked items, each with a suggestedAction, plus an optional device sub-list under itemId. It leaves minor gaps, such as what an empty/healthy result looks like and what fields identify each item, but nothing that would cause a wrong invocation.

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 100%, so baseline is 3, but the description earns extra credit by explaining what itemId actually yields (that item plus up to 50 of its devices) and where the id comes from (prior call or the [attention:<id>] message tag), which the schema only gestures at. The 50-device cap is a limit present nowhere in the schema.

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 resource and scope: a ranked list of fleet items needing human attention, then enumerates exactly which five categories qualify. The itemId variant (single item plus its devices) is spelled out, so an agent can distinguish this from get_fleet_summary or get_security_grade without opening 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?

Gives concrete trigger phrases ("what needs my attention", "anything wrong with my fleet", morning check) and a routing rule for the [attention:<id>] tag, which is exactly the kind of cue an agent needs. It does not name an explicit alternative or exclusion (e.g., when to prefer get_fleet_summary or get_security_grade instead), so it stops short of a 5.

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