Skip to main content
Glama

IvedaAI: Filter

ivedaai_filter
Destructive

Create, update, delete, and list IvedaAI filters to manage video analytics search rules and alert conditions.

Instructions

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

GET /api/filters — List filters 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/filters — Create filter body: FilterRequest — required: name, type; ivedaai_get_schema for all fields

DELETE /api/filters/{filterId} — Delete filter path: filterId*:integer

GET /api/filters/{filterId} — Find filter by id path: filterId*:integer

PUT /api/filters/{filterId} — Update filter path: filterId*:integer body: FilterRequest — required: name, type; ivedaai_get_schema for all fields NOTE: GET /api/filters/{filterId} returns these fields under a different key — cameraIds → expression.cameraIds, query → expression.query, type → expression.type. This endpoint refuses partial bodies outright, so the full object is required regardless.

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?

Discloses response structure (status, truncated/timedOut flags) and critical update behavior (refuses partial bodies, field mapping differences). Annotations already indicate destructive/read-write nature, but the description adds substantive detail about what happens during calls.

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 endpoint-based structure is efficient and scannable, with each operation clearly listed. It's slightly long due to the many endpoints and notes, but every line adds value, such as the response flag explanation and the body field caveat.

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?

Given there is no output schema, the description compensates by explaining the response JSON structure and edge cases like truncation. It covers all five operations, parameter details, and required fields, and references ivedaai_get_schema for comprehensive field schema, making it a complete guide for using this 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?

The description enumerates the query parameters (offset, page, pageSize, sort, etc.), path parameter (filterId), and required body fields (name, type) for create/update. This goes well beyond the generic schema's generic 'query' and 'body' properties, giving explicit meaning to each parameter.

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 identifies this as the Filter resource with CRUD operations, listing all five endpoints. It distinguishes itself from sibling tools by focusing on 'filter' operations with specific verbs like List, Create, Delete, Find, and Update.

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?

Provides per-operation guidance, including query parameters for listing, path parameter for id-based operations, and body requirements for create/update. The note about GET vs PUT field mapping and the warning about refusing partial bodies gives context for when to use each operation, though it doesn't explicitly compare to alternative tools.

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