Skip to main content
Glama

Get a job's status

get_job
Read-only

Get the status of a job you arranged and the business's updates, by the job id report_outcome returned, when your user asks about it.

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": {
      "job": "<job>"
    },
    "name": "get_job"
  }
}

Input Schema

NameRequiredDescriptionDefault
jobYesThe job_id, job_…
connectionNoThe connection code connect_truvon gave you, once your user approved its link. Not needed when your app signed in to Truvon itself.

Output Schema

NameRequiredDescriptionDefault
jobNoThe job id (job_…)
kindNoWhat was arranged: book, order, quote, call or message
reasonNoWhen the call was refused: why, as the agent identity protocol names it (/.well-known/truvon-agent-auth)
statusNoThe job's status, as the business last set it
historyNoThe business's updates, oldest first
businessNoThe business doing it
scheduled_forNoWhen it is for, if a time was set

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "business": {
      +      "description": "The business doing it",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "history": {
      +      "description": "The business's updates, oldest first",
      +      "items": {
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "job": {
      +      "description": "The job id (job_…)",
      +      "type": "string"
      +    },
      +    "kind": {
      +      "description": "What was arranged: book, order, quote, call or message",
      +      "type": "string"
      +    },
      +    "reason": {
      +      "description": "When the call was refused: why, as the agent identity protocol names it (/.well-known/truvon-agent-auth)",
      +      "type": "string"
      +    },
      +    "scheduled_for": {
      +      "description": "When it is for, if a time was set",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "status": {
      +      "description": "The job's status, as the business last set it",
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  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=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds that the result includes the business's updates, hinting the job state evolves over time, but it says nothing about polling frequency, staleness, or error states. With an output schema handling the return shape, this is a modest additional contribution.

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?

A single sentence with the resource and the triggering condition front-loaded, and no wasted clauses. The embedded phrase 'by the job id report_outcome returned' is slightly tangled but still readable and earns its place by telling the agent where to get the id.

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 two-parameter read-only lookup with a full output schema and complete annotations, the description covers what the tool does, when to call it, and where the key input comes from. Only minor operational detail, such as how fresh the status is or whether to re-poll, is absent.

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 both 'job' and 'connection' are already documented in structured data. The description echoes the id provenance ('job id report_outcome returned') but adds nothing about the connection parameter beyond what the schema states. Baseline 3 applies when the schema carries the parameter burden.

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 gives a specific verb and resource ('Get the status of a job') and adds scope ('and the business's updates'), which an agent can distinguish from siblings like report_outcome that create jobs. It stops short of an explicit sibling comparison, but the reference to report_outcome as the source of the job id implicitly separates the two.

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?

It names a clear trigger ('when your user asks about it') and tells the agent where the required id comes from ('the job id report_outcome returned'). No when-not-to-use condition is given, and there is no guidance on repeated polling, but the use context is unambiguous.

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