Skip to main content
Glama

Vira – Create, Teach & Manage AI Behavior

create_observation

Submit one scoped observation for discovery; it does not publish behavior. Use only after the preceding resource and authority prerequisites are satisfied; inspect the server receipt before continuing. Required fields: organizationId, projectId, environmentId, id, content, consent. The authenticated MCP session supplies the tenant scope; any supplied scope identifiers must match it. Unknown fields are rejected. This changes governed state and remains fail-closed behind server authorization and an auditable receipt.

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": {
      "id": "<id>",
      "content": "<content>",
      "consent": "<consent>"
    },
    "name": "create_observation"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesDocumented id input for create_observation; use the published type and keep customer data within the authenticated scope.
consentYesDocumented consent input for create_observation; use the published type and keep customer data within the authenticated scope.
contentYesDocumented content input for create_observation; 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.
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. Changed7 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / consent / description
      Added value: +"Documented consent input for create_observation; use the published type and keep customer data within the authenticated scope."
    • addedInput schema / properties / content / description
      Added value: +"Documented content input for create_observation; 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 / id / description
      Added value: +"Documented id input for create_observation; 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."
  2. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Beyond the annotations, the description adds real value: it does not publish behavior, it changes governed state, it is fail-closed behind server authorization, and it produces an auditable receipt that must be inspected. It does not warn about retry/duplicate behavior despite idempotentHint=false, and the claim that six fields are 'required' conflicts with the schema's three required fields, which muddies the behavioral picture.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is dense and front-loads the key facts (scope, non-publication, governed state), which is good. However, it spends a full sentence enumerating required fields inaccurately, and the prerequisite sentence is vague filler that could have been made concrete or dropped.

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

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutating tool with a nested content object, no output schema and no enum guidance, the description covers scope binding, unknown-field rejection and the receipt. Gaps remain: it never explains what 'consent' or the content object should contain, and the incorrect required-field list could cause an agent to supply unnecessary scope identifiers or omit nothing correctly.

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

Parameters2/5

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

Schema coverage is 100%, so the baseline would be 3, but the description's parameter information actively misleads: it lists organizationId, projectId, environmentId, id, content and consent as 'required', while the schema requires only id, content and consent. The tenant-scope matching rule is a genuinely useful addition, but the required-field error undermines correct invocation.

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 description uses a specific verb and resource ('Submit one scoped observation for discovery') and immediately bounds the effect with 'it does not publish behavior', which separates it from publish/release-style siblings. It stops short of naming which sibling to use instead when the intent is to publish or to create a behavior point.

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?

'Use only after the preceding resource and authority prerequisites are satisfied' signals a precondition, and 'inspect the server receipt before continuing' implies a follow-up step. Both are stated abstractly — the 'preceding prerequisites' are never identified and no alternative tool or exclusion is named, so the agent must infer the ordering from context.

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