Skip to main content
Glama

Vira – Create, Teach & Manage AI Behavior

get_behavior_strategy

Read-onlyIdempotent

Read one persisted Behavior Strategy definition and artifact binding. Use to read the scoped resource; use its create, execute, or transition sibling for state changes. Required fields: organizationId, projectId, environmentId, strategyId. The authenticated MCP session supplies the tenant scope; any supplied scope identifiers must match it. Unknown fields are rejected. This is read-only and returns scope-bound data.

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": {
      "strategyId": "<strategyId>"
    },
    "name": "get_behavior_strategy"
  }
}

Input Schema

NameRequiredDescriptionDefault
projectIdNoAuthenticated customer scope identifier; must match the API key scope and is never inferred from model text.
strategyIdYesImmutable strategyId reference used to bind this get_behavior_strategy operation to the correct released or persisted resource.
environmentIdNoAuthenticated customer scope identifier; must match the API key scope and is never inferred from model text.
organizationIdNoAuthenticated customer scope identifier; must match the API key scope and is never inferred from model text.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / environmentId / description
      Added value: +"Authenticated customer scope identifier; must match the API key scope and is never inferred from model text."
    • addedInput schema / properties / organizationId / description
      Added value: +"Authenticated customer scope identifier; must match the API key scope and is never inferred from model text."
    • addedInput schema / properties / projectId / description
      Added value: +"Authenticated customer scope identifier; must match the API key scope and is never inferred from model text."
    • addedInput schema / properties / strategyId / description
      Added value: +"Immutable strategyId reference used to bind this get_behavior_strategy operation to the correct released or persisted resource."
  2. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds meaningful scope behavior: tenant scope comes from the authenticated session, supplied scope identifiers must match it, and unknown fields are rejected. It does not describe the returned payload, though the tool is read-only.

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?

Front-loads the verb and resource, then routing guidance, then scope constraints; sentences are short and mostly load-bearing. The closing "This is read-only and returns scope-bound data" partly restates the readOnlyHint annotation.

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

Completeness4/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 some return-value description is needed, and the description only gestures at it with "artifact binding" and "scope-bound data." Otherwise the auth/scope model, sibling routing, and strict-input behavior are adequately covered for a single-resource get.

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 coverage is 100%, so the baseline is 3, and the description's main addition ("Required fields: organizationId, projectId, environmentId, strategyId") is in tension with the schema, which marks only strategyId as required. The follow-up line that scope identifiers must match the session partially defuses that, but it can still push an agent to over-supply parameters.

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 ("Read one persisted Behavior Strategy definition and artifact binding") and contrasts itself with state-changing siblings, so an agent can distinguish it from list_behavior_strategies or simulate_behavior_strategy without opening the schema.

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?

Gives an explicit when-to-use (read the scoped resource) and when-not (state changes belong to the create, execute, or transition siblings). The alternatives are described only by category rather than by name, which leaves minor inference work.

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