Skip to main content
Glama

Vira – Create, Teach & Manage AI Behavior

submit_teach_evidence

Submit scoped evidence to the Teach lifecycle. 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": "submit_teach_evidence"
  }
}

Input Schema

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

TDQS

A3.5/5.0
Behavior4/5

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

Annotations only declare the mutation/safety profile, while the description adds substantive context: it changes governed state, is fail-closed behind server authorization, produces an auditable receipt, and rejects unknown fields. That is real added value beyond readOnlyHint=false and destructiveHint=false. The gaps are that it never mentions the non-idempotent nature declared in annotations or what a failed submission looks like.

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?

Purpose is front-loaded, followed by preconditions, required fields, and scope/authorization behavior in a logical order. Every sentence carries signal, though the phrase 'before continuing' and the generic 'governed state' wording are slightly softer than they need to be.

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 mutating, non-idempotent tool with no output schema, the description covers preconditions, tenant scoping, unknown-field rejection, and receipt inspection — enough to call it safely. It is missing retry/idempotency guidance and any indication of what the receipt or a rejection looks like.

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 is 3, but the description actively misleads: it calls organizationId, projectId, and environmentId 'required' when the schema marks only id, content, and consent as required, and it never mentions the source parameter that the schema defines. The tenant-scope rule ('any supplied scope identifiers must match the authenticated session') is genuinely useful, but it does not offset the incorrect required-field list.

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?

States a specific verb and resource: 'Submit scoped evidence to the Teach lifecycle.' An agent can distinguish this as an evidence-submission step from sibling operations like create_teach_proposal or accept_teach_recommendation. It stops short of naming any sibling explicitly, so it lands at 4 rather than 5.

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' gives a gating condition, but it never says what those prerequisites are or which tool produces them, and no alternative is named. The guidance is implied rather than actionable — an agent must still guess which sibling to call first.

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