Skip to main content
Glama

Vira – Create, Teach & Manage AI Behavior

create_semantic_task

AUTHORING: register a Semantic Task with aliases, positive examples, and negative examples for governed routing. It creates a draft; it does not classify input or publish behavior.

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": {
      "taskKey": "<taskKey>"
    },
    "name": "create_semantic_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoDocumented id input for create_semantic_task; use the published type and keep customer data within the authenticated scope.
aliasesNoDocumented aliases input for create_semantic_task; use the published type and keep customer data within the authenticated scope.
taskKeyYesImmutable taskKey reference used to bind this create_semantic_task operation to the correct released or persisted resource.
versionNoDocumented version input for create_semantic_task; use the published type and keep customer data within the authenticated scope.
examplesNoDocumented examples input for create_semantic_task; 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.
descriptionNoDocumented description input for create_semantic_task; 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.
negativeExamplesNoDocumented negativeExamples input for create_semantic_task; use the published type and keep customer data within the authenticated scope.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed11 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / aliases / description
      Added value: +"Documented aliases input for create_semantic_task; use the published type and keep customer data within the authenticated scope."
    • addedInput schema / properties / description / description
      Added value: +"Documented description input for create_semantic_task; 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 / examples / description
      Added value: +"Documented examples input for create_semantic_task; use the published type and keep customer data within the authenticated scope."
    • addedInput schema / properties / id / description
      Added value: +"Documented id input for create_semantic_task; use the published type and keep customer data within the authenticated scope."
    • addedInput schema / properties / negativeExamples / description
      Added value: +"Documented negativeExamples input for create_semantic_task; use the published type and keep customer data within the authenticated scope."
    • 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 / taskKey / description
      Added value: +"Immutable taskKey reference used to bind this create_semantic_task operation to the correct released or persisted resource."
    • addedInput schema / properties / version / description
      Added value: +"Documented version input for create_semantic_task; use the published type and keep customer data within the authenticated scope."
  2. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=false and openWorldHint=false, so the write-safety profile is covered. The description adds genuinely useful context that the result is an unpublished draft and that no classification or publication happens — but says nothing about validation, permissions, or what a failed registration does.

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 short sentences with the category marker front-loaded and the scope-limiting negation second. Every clause carries information; nothing is redundant.

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 10-parameter authoring mutation with no output schema, the description covers what is produced (a draft) and what it does not do, which is the main ambiguity. It leaves response details and the role of version/scope parameters unexplained, though annotations pick up the safety side.

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 per-parameter documentation is already present and the baseline is 3. The description only restates the field families (aliases, positive/negative examples) without adding format, limits, or the meaning of the required taskKey versus optional scoping identifiers.

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?

Specific verb+resource: 'register a Semantic Task with aliases, positive examples, and negative examples'. The negations ('does not classify input or publish behavior') implicitly separate it from resolve_semantic and release-related siblings, though no sibling is named outright.

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?

The 'AUTHORING' label plus 'It creates a draft' establishes the authoring context and two exclusions (no classification, no publishing). However, it never states which sibling to use for classification or publishing, so routing to an alternative is left to inference.

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