Skip to main content
Glama

Classify Behaviors

classify_behaviors
Idempotent

Classify or re-classify the agent's current vulnerability behaviors against risk taxonomies.

Asynchronous, like scan_agent: returns an `operation_id` to follow with
get_operation_status. Maps each discovered vulnerability behavior against
Cisco AI Security & Safety, OWASP Agentic Top 10, OWASP LLM Top 10, MITRE
ATLAS, and NIST AI 100-2, and determines `model_based` attribution.
Classification already runs automatically during `scan_agent` when
configured; call this to refresh classifications without rescanning.

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": {
      "agent_id": "<agent_id>"
    },
    "name": "classify_behaviors"
  }
}

Input Schema

NameRequiredDescriptionDefault
agent_idYesThe agent's stable ID, such as agt_1a2b3c4d, from list_agents.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing the asynchronous execution model, the returned operation_id, and the follow-up tool (get_operation_status) — none of which the annotations convey. It also enumerates the taxonomies applied and notes model_based attribution is determined, and clarifies that the operation is a refresh of classifications rather than a destructive scan.

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?

Short, front-loaded paragraphs: purpose first, then async/return contract, then taxonomy detail and the relation to scan_agent. No sentence is filler, and the long taxonomy list is the core payload of the tool rather than 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?

There is no output schema, so the description carries the return contract itself by naming operation_id and the polling tool. Combined with the automatic-run note and the taxonomy list, an agent has everything needed to invoke and follow up correctly.

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

Parameters3/5

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

Only one parameter (agent_id) and schema coverage is 100%, with the schema itself explaining the agt_ prefix format and pointing to list_agents. The description adds no further parameter meaning, so the baseline 3 applies.

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?

Opens with a specific verb phrase — 'Classify or re-classify the agent's current vulnerability behaviors against risk taxonomies' — naming both the resource (vulnerability behaviors) and the target (risk taxonomies). It is immediately distinguishable from scan_agent (full rescan) and get_behaviors (retrieval), which the description reinforces later.

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?

Explicitly states the selection condition: classification already runs automatically during scan_agent, so call this only to refresh classifications without rescanning. That is a genuine when-to-use vs when-not-to-use contrast against a named sibling.

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.