Skip to main content
Glama

Get Recording Usage

get_recording_usage
Read-onlyIdempotent

Report how much footage a Cloud Recording actually holds: seconds recorded against the capacity of its queue, when the queue started, and the configured retention. recorded_seconds says whether footage exists and how near the limit it is. queue_started_at is when Angelcam started the queue; it can be far older than the retention (a camera that went offline long ago still shows its old date), so never read it as the oldest footage that still exists. To see how far back footage really reaches, use get_recording_timeline. Takes the recording_id from list_recordings, not a camera_id.

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": {
      "recording_id": "<recording_id>",
      "session_id": "<session_id>"
    },
    "name": "get_recording_usage"
  }
}

Input Schema

NameRequiredDescriptionDefault
space_idNoAngelcam space. Call list_spaces; if there is more than one, ask the user which and pass its id - never guess or assume the active one. Reuse it on every later call; omit only with a single space.
session_idYesSession continuity handle, one of two values: the ses_ ID issued for the task underway, or start. This server cannot link your calls between requests on its own, so session continuity travels in this parameter instead. If you were handed a session_id for this task — for example by the agent that spawned you — send that exact value from your first call. Otherwise send start on your first call; the server will issue an opaque correlation ID in the mcp_session field of the result, or in a text block at the start of the result beginning [session_id issued. Then send that exact ses_ value on every later call and hand it to any subagents working the same task. start always begins a new, unrelated task — never send it mid-task. If you send a value this server does not recognize, the result reports it: mcp_session.status of unrecognized, or a text block beginning [session_id unrecognized; re-send the ID issued for this task, or start if none was issued yet. Never invent a ses_ value.
recording_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A5/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the description's value is in interpretation guidance, which it delivers: recorded_seconds reportedly indicates whether footage exists and how near the capacity limit it is, and queue_started_at carries an explicit warning that it may be far older than retention because an offline camera keeps its old date. That 'do not read this field as X' disclosure is exactly the kind of behavioral context annotations cannot supply.

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

Conciseness5/5

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

The core payload is front-loaded in the first clause, followed by field-level semantics and then the redirect to the sibling. Every sentence carries either a return-value interpretation or a routing rule; nothing is padding.

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 no output schema, the description carries the burden of explaining return values, and it names three of them with their meanings and a misuse warning. Combined with the sibling redirect and identifier sourcing, an agent has everything needed for this three-parameter read tool.

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

Parameters5/5

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

Schema coverage is 67%: session_id and space_id are heavily documented in-schema, but recording_id has only a uuid format and no description, and the description fills precisely that gap by naming its source tool and ruling out camera_id. This compensates for the uncovered parameter rather than restating covered ones.

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 ('Report how much footage a Cloud Recording actually holds') and enumerates the exact facts returned (recorded seconds vs queue capacity, queue start, retention). It distinguishes itself from the nearest sibling by name, pointing to get_recording_timeline for footage depth, so an agent can separate the two without opening a schema.

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?

Explicit routing: use get_recording_timeline for how far back footage reaches, and the recording_id must come from list_recordings rather than a camera_id. Both the alternative and the prerequisite source of the identifier are stated outright, leaving no inference.

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