Skip to main content
Glama

Vira – Create, Teach & Manage AI Behavior

get_job

Read-onlyIdempotent

Read a scope-bound asynchronous job and completion evidence. Use to read the scoped resource; use its create, execute, or transition sibling for state changes. Required fields: organizationId, projectId, environmentId, jobId. 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": {
      "jobId": "<jobId>"
    },
    "name": "get_job"
  }
}

Input Schema

NameRequiredDescriptionDefault
jobIdYesImmutable jobId reference used to bind this get_job operation to the correct released or persisted resource.
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. 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 / jobId / description
      Added value: +"Immutable jobId reference used to bind this get_job operation to the correct released or persisted resource."
    • 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

A4.1/5.0
Behavior4/5

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

Annotations already state readOnlyHint/idempotentHint/destructiveHint=false, and the description usefully adds that the tenant scope comes from the authenticated session, that any supplied scope identifiers must match it, that unknown fields are rejected, and that only scope-bound data is returned. It does not explain what "completion evidence" actually contains or how failures surface, which keeps it from a 5.

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-loaded with the purpose, then usage routing, then scope constraints; each sentence is short and task-relevant. The enumerated "Required fields" sentence is the one piece that does not earn its place because it is inaccurate against the schema.

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?

With no output schema, no nested objects, and annotations covering the safety profile, the description supplies the scope/auth behavior and the read-vs-mutate routing an agent needs. The unexplained phrase "completion evidence" leaves the return content mildly underspecified, but nothing critical to correct invocation is missing.

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 baseline is 3 and the schema already spells out jobId and the three scope identifiers, including "must match the API key scope and is never inferred from model text." The description's scope prose largely restates the schema and its "required fields" list contradicts the schema's required: [jobId], so it adds little net value.

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?

"Read a scope-bound asynchronous job and completion evidence" gives a specific verb plus resource and adds scope qualifiers. It explicitly names the alternatives (create, execute, transition siblings) and the condition that selects them, so an agent can separate this tool from the mutating siblings without opening a 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?

"Use to read the scoped resource; use its create, execute, or transition sibling for state changes" is a clean use/not-use rule with a named alternative. The only flaw is the sentence "Required fields: organizationId, projectId, environmentId, jobId," which conflicts with the schema where only jobId is required and could push an agent to over-supply scope parameters.

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