Skip to main content
Glama

IvedaAI: Nvr

ivedaai_nvr
Destructive

Manage IvedaAI network video recorders (NVRs): list, create, update, delete, inspect cameras and channels, preview snapshots, fetch alerts, and test connections.

Instructions

IvedaAI API — Nvr operations. Response JSON: "status" is the HTTP status code; "truncated"/"timedOut" flag a cut-off response.

GET /api/nvrs — List Nvrs query: offset?:integer, page?:any, pageNumber?:integer, pageSize?:integer, paged?:boolean, size?:any, sort?:any, sort.sorted?:boolean, sort.unsorted?:boolean, unpaged?:boolean

POST /api/nvrs — Create Nvr body: NvrRequest — required: brandId, ip, name, port; ivedaai_get_schema for all fields

DELETE /api/nvrs/{nvrId} — Delete Nvr by id path: nvrId*:string

GET /api/nvrs/{nvrId} — Find Nvr by id path: nvrId*:string

PUT /api/nvrs/{nvrId} — Update Nvr path: nvrId*:string body: NvrRequest — required: brandId, ip, name, port; ivedaai_get_schema for all fields NOTE: GET /api/nvrs/{nvrId} returns this field under a different key — brandId → brand.brandId. This endpoint refuses partial bodies outright, so the full object is required regardless.

GET /api/nvrs/{nvrId}/cameras — List cameras by nvr id path: nvrId*:string query: offset?:integer, page?:any, pageNumber?:integer, pageSize?:integer, paged?:boolean, size?:any, sort?:any, sort.sorted?:boolean, sort.unsorted?:boolean, unpaged?:boolean

GET /api/nvrs/{nvrId}/channels — Find Nvr channels path: nvrId*:string

GET /api/nvrs/{nvrId}/preview-channel/{channelIndex} — Preview NVR channel snapshot path: nvrId*:string, channelIndex*:string query: protocol?:string enum:Both|TCP|UDP

GET /api/nvrs/{nvrType}/alerts — get the list of alert from NVR path: nvrType*:string enum:avigilon|digifort|ocularis query: ip*:string, port*:string, username*:string, password*:string, cameraIds?:integer

POST /api/nvrs/connection — Check Nvr connection body: NvrRequest — required: brandId, ip, name, port; ivedaai_get_schema for all fields

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyNoJSON request body, or form field values when uploading a file.
fileNoLocal file to upload, for operations that accept a file.
pathNoPath parameters, e.g. { "cameraId": 12 }
queryNoQuery string parameters for this operation.
operationYesWhich API operation to call, from the list in this tool's description.
Behavior4/5

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

The description adds meaningful behavioral context beyond the annotations: it explains the response envelope ('status', 'truncated', 'timedOut') and notes that the PUT endpoint rejects partial bodies and maps brandId to brand.brandId. This is valuable operational detail that complements the destructiveHint annotation without contradicting it.

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 description is well-organized with a clear header and one section per endpoint, making it scannable. The initial response note is front-loaded. However, the same pagination query parameters and body specification are repeated verbatim across multiple endpoints, adding redundancy. The length is justified by the number of operations but could be condensed.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description covers all operations and their parameters, and the generic response envelope note helps set expectations. However, since there is no output schema, it does not specify per-endpoint return shapes or error conditions. Ambiguities remain (e.g., whether preview-channel returns a binary image, what the alert list contains). The reference to ivedaai_get_schema helps for requests but not responses.

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 description enumerates exact query and path parameters for each endpoint, including enums for protocol and nvrType, and specifies required body fields (brandId, ip, name, port). This far exceeds the generic input schema, which only provides empty 'query' and 'path' objects. It also points to ivedaai_get_schema for full body details. Minor deduction for using terse notations like '?:integer' and 'any' without deeper explanation.

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 clearly states 'IvedaAI API — Nvr operations' and enumerates all HTTP endpoints (list, create, delete, find, update, list cameras, channels, preview, alerts, connection). This specific resource focus and endpoint list distinguishes it from sibling tools like ivedaai_camera and ivedaai_account.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Each endpoint is labeled with its intent (e.g., 'List Nvrs', 'Create Nvr'), giving clear operation-level guidance. However, there is no explicit comparison to sibling tools or guidance on when to prefer this tool over alternatives. Usage context is implied by the resource name and endpoint descriptions rather than stated.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/WillORepO/ivedaAI-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server