Skip to main content
Glama

Get agent details

get_agent
Read-only

Get a single agent's details and mailbox by ID. Shows name, type, model, status, and recent same-account mail, prioritizing open letters first.

Instructions

Get one agent's details (name, type, model, status) by its id, and its mailbox: same-account mail from other agents, open letters first (accepted, delivering, blocked), then applied or undeliverable ones, newest within each group, capped at 20.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
agent_idYesThe agent's UUID (from list_agents or create_agent).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesThe Agent's unique identifier; pass it to other tools as agent_id.
urlNoThis Agent's page in the plori web app.
nameYesThe Agent's name, chosen by its owner and unique within the account.
modelYesThe model slug this Agent is configured to use. Empty means no explicit choice, which is not the same as no model — read effective_model for what a run will actually use.
configYesArbitrary JSON owned by the producing engine.
movingNoTrue while this Agent's files are being copied to a new disk; check storage_notice rather than a separate route for the outcome.
statusNoThe live warm-session state: warming, ready, or sleeping; empty when no session is active.
backendYesThe compute backend this Agent runs on.
mailboxYesThis agent's mailbox letters, open ones (accepted, delivering, blocked) first, then applied or undeliverable ones, newest within each group, at most 20.
user_idYesThe identifier of the account that owns this Agent.
deletingNoTrue while this Agent's disk is still being erased; offer no action on it besides retrying the deletion itself.
queued_atNoWhen a still-warming attach was accepted; present only while it is queued for node capacity.
created_atYesWhen the Agent was created.
last_run_atNoWhen this Agent last started a run; absent when it has never run.
deleting_sinceNoWhen the deletion was first requested; present only while deleting is true.
storage_noticeNoThe one sentence, if any, telling the owner about a storage move that stopped; show it verbatim, not paraphrased.
effective_modelYesThe model a run on this Agent will actually use. plori-auto means the hosted router chooses per turn.
advisor_max_spend_micro_usdYesOptional maximum advisor-completion spend per turn in micro-US-dollars. Zero disables advisor completions; null leaves no spend cap.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.16.2
    • addedOutput schema / properties / advisor_max_spend_micro_usd
      Added value: +{
      +  "description": "Optional maximum advisor-completion spend per turn in micro-US-dollars. Zero disables advisor completions; null leaves no spend cap.",
      +  "type": [
      +    "null",
      +    "integer"
      +  ]
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "id",
      -  "user_id",
      -  "name",
      -  "backend",
      -  "model",
      -  "effective_model",
      -  "config",
      -  "created_at",
      -  "mailbox"
      -]New value: +[
      +  "id",
      +  "user_id",
      +  "name",
      +  "backend",
      +  "model",
      +  "advisor_max_spend_micro_usd",
      +  "effective_model",
      +  "config",
      +  "created_at",
      +  "mailbox"
      +]
  2. Changed1 schema field changedv0.16.0
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "backend": {
      +      "description": "The compute backend this Agent runs on.",
      +      "type": "string"
      +    },
      +    "config": {
      +      "description": "Arbitrary JSON owned by the producing engine."
      +    },
      +    "created_at": {
      +      "description": "When the Agent was created.",
      +      "type": "string"
      +    },
      +    "deleting": {
      +      "description": "True while this Agent's disk is still being erased; offer no action on it besides retrying the deletion itself.",
      +      "type": "boolean"
      +    },
      +    "deleting_since": {
      +      "description": "When the deletion was first requested; present only while deleting is true.",
      +      "type": [
      +        "null",
      +        "string"
      +      ]
      +    },
      +    "effective_model": {
      +      "description": "The model a run on this Agent will actually use. plori-auto means the hosted router chooses per turn.",
      +      "type": "string"
      +    },
      +    "id": {
      +      "description": "The Agent's unique identifier; pass it to other tools as agent_id.",
      +      "type": "string"
      +    },
      +    "last_run_at": {
      +      "description": "When this Agent last started a run; absent when it has never run.",
      +      "type": [
      +        "null",
      +        "string"
      +      ]
      +    },
      +    "mailbox": {
      +      "description": "This agent's mailbox letters, open ones (accepted, delivering, blocked) first, then applied or undeliverable ones, newest within each group, at most 20.",
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "accepted_at": {
      +            "type": "string"
      +          },
      +          "block_reason": {
      +            "type": "string"
      +          },
      +          "consumed_at": {
      +            "type": [
      +              "null",
      +              "string"
      +            ]
      +          },
      +          "correlation_id": {
      +            "type": "string"
      +          },
      +          "from_agent": {
      +            "type": "string"
      +          },
      +          "id": {
      +            "type": "string"
      +          },
      +          "in_reply_to": {
      +            "type": [
      +              "null",
      +              "string"
      +            ]
      +          },
      +          "kind": {
      +            "type": "string"
      +          },
      +          "run_id": {
      +            "type": [
      +              "null",
      +              "string"
      +            ]
      +          },
      +          "status": {
      +            "type": "string"
      +          },
      +          "summary": {
      +            "type": "string"
      +          },
      +          "to_agent": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "id",
      +          "kind",
      +          "from_agent",
      +          "to_agent",
      +          "status",
      +          "in_reply_to",
      +          "correlation_id",
      +          "run_id",
      +          "summary",
      +          "accepted_at",
      +          "consumed_at"
      +        ],
      +        "type": "object"
      +      },
      +      "type": [
      +        "null",
      +        "array"
      +      ]
      +    },
      +    "model": {
      +      "description": "The model slug this Agent is configured to use. Empty means no explicit choice, which is not the same as no model — read effective_model for what a run will actually use.",
      +      "type": "string"
      +    },
      +    "moving": {
      +      "description": "True while this Agent's files are being copied to a new disk; check storage_notice rather than a separate route for the outcome.",
      +      "type": "boolean"
      +    },
      +    "name": {
      +      "description": "The Agent's name, chosen by its owner and unique within the account.",
      +      "type": "string"
      +    },
      +    "queued_at": {
      +      "description": "When a still-warming attach was accepted; present only while it is queued for node capacity.",
      +      "type": [
      +        "null",
      +        "string"
      +      ]
      +    },
      +    "status": {
      +      "description": "The live warm-session state: warming, ready, or sleeping; empty when no session is active.",
      +      "type": "string"
      +    },
      +    "storage_notice": {
      +      "description": "The one sentence, if any, telling the owner about a storage move that stopped; show it verbatim, not paraphrased.",
      +      "type": "string"
      +    },
      +    "url": {
      +      "description": "This Agent's page in the plori web app.",
      +      "type": "string"
      +    },
      +    "user_id": {
      +      "description": "The identifier of the account that owns this Agent.",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "id",
      +    "user_id",
      +    "name",
      +    "backend",
      +    "model",
      +    "effective_model",
      +    "config",
      +    "created_at",
      +    "mailbox"
      +  ],
      +  "type": "object"
      +}
  3. Addedv0.7.0
  4. Removedv0.3.0
  5. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, and the description adds substantial behavioral detail: mailbox ordering (open letters first, then applied/undeliverable), grouping by status, newest within each group, and a cap of 20. This goes beyond the structured fields, though error/edge-case behavior is not addressed.

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?

The description is one dense sentence with no filler; every clause earns its place, and the main purpose is front-loaded. It could be split into two sentences for readability, but it remains efficient and structured.

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

Completeness5/5

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

For a single-parameter tool with an output schema covering return structure, the description supplies all necessary behavioral context: the fields returned, mailbox ordering and grouping rules, and the cap. Nothing essential is missing for an agent to invoke it correctly.

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 coverage is 100% and the agent_id description already explains its source and type. The description only adds 'by its id,' which is redundant with the schema and does not contribute additional semantic constraints or format details. Baseline 3 applies.

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?

The description states a specific action ('Get one agent's details'), identifies the resource by id, and enumerates the returned fields ('name, type, model, status') plus the mailbox. The singular 'one' and 'by its id' clearly distinguish it from list_agents and other sibling tools.

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 is clear that this tool is for retrieving a single agent when you already have its UUID, and the schema notes the id comes from list_agents or create_agent. It does not explicitly name alternatives or state when not to use it, so it stops short of a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.