Skip to main content
Glama

Vira – Create, Teach & Manage AI Behavior

resolve_semantic

Read-onlyIdempotent

ROUTING 1/3: classify input into registered Semantic Tasks and intent candidates. It never resolves runtime authority or executes; follow with resolve_runtime for one BehaviorPoint or resolve_task_run for AUTO/multi-task planning.

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": {
      "input": "<input>"
    },
    "name": "resolve_semantic"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputYesThe end-user request or runtime input that Vira must resolve, execute, or evaluate.
profileNoDocumented profile input for resolve_semantic; use the published type and keep customer data within the authenticated scope.
projectIdNoAuthenticated customer scope identifier; must match the API key scope and is never inferred from model text.
selectionNoDocumented selection input for resolve_semantic; use the published type and keep customer data within the authenticated scope.
sessionIdNoImmutable sessionId reference used to bind this resolve_semantic operation to the correct released or persisted resource.
timeoutMsNoDocumented timeoutMs input for resolve_semantic; use the published type and keep customer data within the authenticated scope.
candidatesNoDocumented candidates input for resolve_semantic; use the published type and keep customer data within the authenticated scope.
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. Changed10 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / candidates / description
      Added value: +"Documented candidates input for resolve_semantic; use the published type and keep customer data within the authenticated scope."
    • 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 / input / description
      Added value: +"The end-user request or runtime input that Vira must resolve, execute, or evaluate."
    • 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 / profile / description
      Added value: +"Documented profile input for resolve_semantic; use the published type and keep customer data within the authenticated scope."
    • 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 / selection / description
      Added value: +"Documented selection input for resolve_semantic; use the published type and keep customer data within the authenticated scope."
    • addedInput schema / properties / sessionId / description
      Added value: +"Immutable sessionId reference used to bind this resolve_semantic operation to the correct released or persisted resource."
    • addedInput schema / properties / timeoutMs / description
      Added value: +"Documented timeoutMs input for resolve_semantic; use the published type and keep customer data within the authenticated scope."
  2. First observed

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds a meaningful non-execution guarantee ('never resolves runtime authority or executes'), which goes beyond readOnly semantics, but it says nothing about latency, scoping behavior for the many scope identifiers, or failure modes when no registered task matches.

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?

Two tight sentences, front-loaded with the 'ROUTING 1/3' stage marker so the agent immediately knows where this sits in the flow. Every clause carries routing information and nothing is padded or repeated.

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?

For a nine-parameter classification tool whose parameters are fully documented in the schema, the description covers its role, its non-execution boundary and its downstream handoffs. The only gap is the return shape: with no output schema, the description does not say what a classified result or an intent candidate actually looks like.

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%, so the schema itself documents all nine parameters and the baseline of 3 applies. The description adds no meaning beyond the schema for 'input', 'selection', 'candidates', 'timeoutMs' or the scope identifiers, so it does not improve on what structured data already supplies.

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 gives a specific verb ('classify') and a specific output ('registered Semantic Tasks and intent candidates'), and it explicitly positions itself in a three-step routing pipeline. It is clearly distinguishable from siblings resolve_runtime and resolve_task_run by naming both as the downstream steps.

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?

It states when to use this tool (first routing stage, classification only), what it does not do ('never resolves runtime authority or executes'), and which alternative to pick afterwards based on the case: resolve_runtime for a single BehaviorPoint, resolve_task_run for AUTO/multi-task planning. That is explicit routing guidance with both a condition and named alternatives.

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