Skip to main content
Glama

Count screens against the plan limit

get_presence_allowance
Read-onlyIdempotent

Count screens against the plan limit

Tells how many Presence screens you have (devices, every screen you created, paired or not) and how many your plans pay for (deviceLimit, null when there is no limit). Check it before create_presence_device, which fails with 403 once devices has reached deviceLimit. For plans, prices and avatar minutes use get_presence_billing. Read only.

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_presence_allowance"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, and the description reinforces that with 'Read only.' Beyond the structured data it adds real context: `devices` counts every screen created whether paired or not, `deviceLimit` is null when unlimited, and exceeding the limit causes a 403 on creation.

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?

Front-loaded and dense: the counting semantics, the 403 precondition, and the sibling hand-off each appear once. Minor waste comes from restating the title verbatim as the opening line and repeating 'Read only' already covered by annotations.

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?

With zero parameters and no output schema, the description carries the return-value burden and does so by naming both fields and the null case. Combined with the failure-mode warning, an agent has everything needed to call this correctly and interpret the result.

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?

The tool takes no parameters, so there is nothing for the description to disambiguate and the baseline of 4 applies. The description instead spends its space on output semantics, which is the right allocation.

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 (count Presence screens) and immediately names the two values returned, `devices` and `deviceLimit`. It is clearly separable from `get_presence_billing`, which it explicitly delegates to for plans and prices.

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?

Gives an explicit precondition: 'Check it before `create_presence_device`, which fails with 403 once `devices` has reached `deviceLimit`.' It also routes the agent elsewhere ('For plans, prices and avatar minutes use `get_presence_billing`'), so both when-to-use and when-not-to-use are covered.

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.