Skip to main content
Glama

Get Behaviors

get_behaviors
Read-only

The agent's current vulnerability and control behaviors, complete.

One envelope with `schema_version`, the agent, `source_id`, `run_id`, and
the `vulnerabilities` and `controls`, each behavior with its evidence,
plus `classifications` when available (mapping each vulnerability behavior
to Cisco, OWASP Agentic, OWASP LLM, MITRE ATLAS, and NIST AI 100-2 codes
and `model_based` attribution, with any user overrides applied).
Vulnerabilities have pending or completed scores: Impact, Trigger and
Fidelity-risk membership. The envelope includes the Fidelity risks count,
null until scoring completes. `scoring_guide` defines Impact and Trigger,
lists their levels, and explains which combinations count as Fidelity risks.
Controls are not scored. Internal scoring
inputs and discovery severity are not returned. `delivery` is "inline" (in
`result`) or, when large, "download": a temporary URL (`download.url`,
valid for 15 minutes) with its expected `download.sha256`. Refused with
`results_not_ready` when there are none for the current source, including
when the only ones are from an earlier, replaced source.

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": "get_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

A3.8/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, non-destructive, closed-world), and the description adds substantial behavioral context beyond them: the delivery modes (inline vs. download with a 15-minute URL and expected sha256), the `results_not_ready` refusal including the replaced-source edge case, and the explicit statement that internal scoring inputs and discovery severity are omitted. The remaining gap is that it does not say what happens while scoring is pending other than that counts are null, but the disclosed behavior is well above the annotation baseline.

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?

Content is front-loaded with purpose, then envelope shape, then scoring semantics, then delivery and refusal behavior — a sensible order. It is dense and somewhat fragmented into short clauses, but with no output schema present each sentence carries real information, so little is wasted.

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 full burden of describing the return shape, and it does so thoroughly: envelope fields, per-behavior evidence, the classification mappings and override behavior, scoring fields and the Fidelity risk count, the `scoring_guide`, and what is deliberately excluded. Nothing essential for calling or interpreting the result is missing.

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?

Schema description coverage is 100% and the single `agent_id` parameter is fully documented in the schema, including its format and where to obtain it. The description reinforces the agent scope but adds no syntax or format detail beyond the schema, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening sentence specifies the resource (the agent's current vulnerability and control behaviors) and its completeness scope, which is more precise than the title alone. It does not, however, contrast itself with the nearby sibling classify_behaviors, so an agent must infer the boundary from the presence of a `classifications` field rather than an explicit statement.

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?

Usage is implied rather than stated: the description establishes that this returns the complete, current behavior set for a named agent, and mentions the `results_not_ready` refusal when none exist for the current source. There is no explicit when-to-use/when-not guidance and no named alternative tool for the classification workflow, so the agent must infer the routing.

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.