Skip to main content
Glama

Mnemom — Trust Ratings for AI Agents

get_agent

Read-onlyIdempotent

Look up an agent's public identity and trust state by ID — the accountable record other agents and humans can rely on.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
agent_idYesAgent identifier (e.g. smolt-abc123)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesAgent identifier (e.g. smolt-abc123).
nameNoAgent name (2-32 chars, alphanumeric + hyphens).
callerNoWhich projection THIS response is. `org_member` receives the owner field set; `anonymous`/`authenticated` receive the reduced public set (id, name, claimed, created_at, last_seen, status, avatar_url, caller). Read this instead of inferring why a field is absent.
groupsNoActive groups this agent belongs to, name-ordered; `[]` when none. Present on org-fleet rows.
org_idNoThe agent's organization binding. Required as an input by the org-scoped tools (fleet listing, posture assignment). Identifies an organization, not a person.
publicNoWhether the agent's identity record is publicly discoverable. Distinct from Trust Rating visibility, which is always public.
statusNoDerived from last_seen (active = seen within the last hour).
claimedNoWhether a human or organization has claimed accountability for this agent. On the owner projection this is derived from the ownership column; the owning user's identifier itself is not returned.
last_seenNo
agent_hashNoThe canonical public identity hash (first 16 hex chars) used as the gateway lookup key and as the input to verify_agent_binding. Owner projection only. Not a credential and not reversible to one.
avatar_urlNo
claimed_atNo
created_atNo
containment_statusNoContainment state of the agent.
aip_enforcement_modeNo

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed24 schema fields changed
    • removedOutput schema / $defs
      Removed value: -{
      -  "Agent": {
      -    "additionalProperties": true,
      -    "description": "An agent. GET /v1/agents/{id} returns one of TWO projections by authorization: an ORGANIZATION-MEMBER (owner) caller receives the full agent row (all fields below); a NON-OWNER receives a reduced public projection (id, name, claimed, created_at, last_seen, status, avatar_url). additionalProperties is left open because the owner row is the full DB row and grows as agent-settings columns are added (ADR-053 / proof / DDR); over-constraining it would 500 the endpoint on the next migration under /v1 response enforcement.",
      -    "properties": {
      -      "agent_hash": {
      -        "description": "First 16 hex chars of `SHA256(apiKey + '|' + agentName)` for named agents, or `SHA256(apiKey)` for unnamed singleton agents. The gateway computes the same value on each request and uses it as the lookup key. See [Agent Identity](https://docs.mnemom.ai/concepts/agent-identity#agent_hash--the-canonical-identity-hash).",
      -        "example": "a1b2c3d4e5f6a7b8",
      -        "type": "string"
      -      },
      -      "agent_proof_captured_at": {
      -        "format": "date-time",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "agent_proof_hash": {
      -        "description": "Owner projection: captured hash_proof of the bound key (mig 263).",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "aip_enforcement_mode": {
      -        "enum": [
      -          "observe",
      -          "enforce",
      -          "nudge"
      -        ],
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "avatar_url": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "billing_account_id": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "caller": {
      -        "description": "Self-describing caller context for THIS response. `org_member` callers receive the full owner record (all fields here); `anonymous`/`authenticated` (non-member) callers receive the reduced public projection (id, name, claimed, created_at, last_seen, status, avatar_url, caller). The differing field set is GOVERNED by this value — read it instead of inferring why a field is absent.",
      -        "enum": [
      -          "anonymous",
      -          "authenticated",
      -          "org_member"
      -        ],
      -        "type": "string"
      -      },
      -      "claimed": {
      -        "description": "Public projection only: whether the agent has been claimed by a user.",
      -        "type": "boolean"
      -      },
      -      "claimed_at": {
      -        "format": "date-time",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "claimed_by": {
      -        "description": "Owner projection: user id that claimed the agent.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "containment_status": {
      -        "description": "Containment state of the agent (ADR-053).",
      -        "enum": [
      -          "active",
      -          "paused",
      -          "killed"
      -        ],
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "created_at": {
      -        "format": "date-time",
      -        "type": "string"
      -      },
      -      "created_by": {
      -        "description": "Owner projection: user id that created the agent (provenance).",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "deleted_at": {
      -        "description": "Owner projection: soft-delete timestamp (null when live).",
      -        "format": "date-time",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "email": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "groups": {
      -        "description": "Active groups this agent belongs to, name-ordered; `[]` when none. Present on org-fleet rows (GET /v1/orgs/{org_id}/agents). Archived groups are excluded.",
      -        "items": {
      -          "properties": {
      -            "color": {
      -              "description": "Group color (hex, e.g. `#0d9488`); `null` when unset.",
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "id": {
      -              "type": "string"
      -            },
      -            "name": {
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "id",
      -            "name",
      -            "color"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "id": {
      -        "type": "string"
      -      },
      -      "key_prefix": {
      -        "description": "First 8 chars of the bound API key hash — useful for key-rotation debugging.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "last_seen": {
      -        "format": "date-time",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "name": {
      -        "description": "Agent name (2-32 chars, alphanumeric + hyphens). Present on all list and get responses.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "org_id": {
      -        "description": "Owner projection: the agent's org binding (ADR-062 authz boundary).",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "public": {
      -        "description": "Identity-record visibility axis — whether the agent's IDENTITY RECORD is publicly discoverable. This is DISTINCT from reputation visibility: every registered agent's reputation is public by accountability standard (see `ReputationScore.visibility`). `public` here governs only the identity record, never the Trust Rating.",
      -        "type": "boolean"
      -      },
      -      "status": {
      -        "enum": [
      -          "active",
      -          "offline"
      -        ],
      -        "type": "string"
      -      },
      -      "user_id": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      }
      -    },
      -    "type": "object"
      -  }
      -}
    • changedOutput schema / additionalProperties
      Previous value: -trueNew value: +false
    • changedOutput schema / description
      Previous value: -"An agent. GET /v1/agents/{id} returns one of TWO projections by authorization: an ORGANIZATION-MEMBER (owner) caller receives the full agent row (all fields below); a NON-OWNER receives a reduced public projection (id, name, claimed, created_at, last_seen, status, avatar_url). additionalProperties is left open because the owner row is the full DB row and grows as agent-settings columns are added (ADR-053 / proof / DDR); over-constraining it would 500 the endpoint on the next migration under /v1 response enforcement."New value: +"An agent's identity and trust state, reduced to the fields the trust loop needs. Personal data (owner email address, user identifiers), internal commercial identifiers (billing account) and key-material-derived values (bound-key proof hash, key prefix) are REMOVED at the MCP boundary and are never returned to an MCP client — see the Mnemom privacy policy at https://www.mnemom.ai/privacy. Which fields are present depends on authorization: read `caller` to know which projection you received."
    • changedOutput schema / properties / agent_hash / description
      Previous value: -"First 16 hex chars of `SHA256(apiKey + '|' + agentName)` for named agents, or `SHA256(apiKey)` for unnamed singleton agents. The gateway computes the same value on each request and uses it as the lookup key. See [Agent Identity](https://docs.mnemom.ai/concepts/agent-identity#agent_hash--the-canonical-identity-hash)."New value: +"The canonical public identity hash (first 16 hex chars) used as the gateway lookup key and as the input to verify_agent_binding. Owner projection only. Not a credential and not reversible to one."
    • removedOutput schema / properties / agent_hash / example
      Removed value: -"a1b2c3d4e5f6a7b8"
    • removedOutput schema / properties / agent_proof_captured_at
      Removed value: -{
      -  "format": "date-time",
      -  "type": [
      -    "string",
      -    "null"
      -  ]
      -}
    • removedOutput schema / properties / agent_proof_hash
      Removed value: -{
      -  "description": "Owner projection: captured hash_proof of the bound key (mig 263).",
      -  "type": [
      -    "string",
      -    "null"
      -  ]
      -}
    • removedOutput schema / properties / billing_account_id
      Removed value: -{
      -  "type": [
      -    "string",
      -    "null"
      -  ]
      -}
    • changedOutput schema / properties / caller / description
      Previous value: -"Self-describing caller context for THIS response. `org_member` callers receive the full owner record (all fields here); `anonymous`/`authenticated` (non-member) callers receive the reduced public projection (id, name, claimed, created_at, last_seen, status, avatar_url, caller). The differing field set is GOVERNED by this value — read it instead of inferring why a field is absent."New value: +"Which projection THIS response is. `org_member` receives the owner field set; `anonymous`/`authenticated` receive the reduced public set (id, name, claimed, created_at, last_seen, status, avatar_url, caller). Read this instead of inferring why a field is absent."
    • changedOutput schema / properties / claimed / description
      Previous value: -"Public projection only: whether the agent has been claimed by a user."New value: +"Whether a human or organization has claimed accountability for this agent. On the owner projection this is derived from the ownership column; the owning user's identifier itself is not returned."
    • removedOutput schema / properties / claimed_by
      Removed value: -{
      -  "description": "Owner projection: user id that claimed the agent.",
      -  "type": [
      -    "string",
      -    "null"
      -  ]
      -}
    • changedOutput schema / properties / containment_status / description
      Previous value: -"Containment state of the agent (ADR-053)."New value: +"Containment state of the agent."
    • removedOutput schema / properties / created_by
      Removed value: -{
      -  "description": "Owner projection: user id that created the agent (provenance).",
      -  "type": [
      -    "string",
      -    "null"
      -  ]
      -}
    • removedOutput schema / properties / deleted_at
      Removed value: -{
      -  "description": "Owner projection: soft-delete timestamp (null when live).",
      -  "format": "date-time",
      -  "type": [
      -    "string",
      -    "null"
      -  ]
      -}
    • removedOutput schema / properties / email
      Removed value: -{
      -  "type": [
      -    "string",
      -    "null"
      -  ]
      -}
    • changedOutput schema / properties / groups / description
      Previous value: -"Active groups this agent belongs to, name-ordered; `[]` when none. Present on org-fleet rows (GET /v1/orgs/{org_id}/agents). Archived groups are excluded."New value: +"Active groups this agent belongs to, name-ordered; `[]` when none. Present on org-fleet rows."
    • addedOutput schema / properties / id / description
      Added value: +"Agent identifier (e.g. smolt-abc123)."
    • removedOutput schema / properties / key_prefix
      Removed value: -{
      -  "description": "First 8 chars of the bound API key hash — useful for key-rotation debugging.",
      -  "type": [
      -    "string",
      -    "null"
      -  ]
      -}
    • changedOutput schema / properties / name / description
      Previous value: -"Agent name (2-32 chars, alphanumeric + hyphens). Present on all list and get responses."New value: +"Agent name (2-32 chars, alphanumeric + hyphens)."
    • changedOutput schema / properties / org_id / description
      Previous value: -"Owner projection: the agent's org binding (ADR-062 authz boundary)."New value: +"The agent's organization binding. Required as an input by the org-scoped tools (fleet listing, posture assignment). Identifies an organization, not a person."
    • changedOutput schema / properties / public / description
      Previous value: -"Identity-record visibility axis — whether the agent's IDENTITY RECORD is publicly discoverable. This is DISTINCT from reputation visibility: every registered agent's reputation is public by accountability standard (see `ReputationScore.visibility`). `public` here governs only the identity record, never the Trust Rating."New value: +"Whether the agent's identity record is publicly discoverable. Distinct from Trust Rating visibility, which is always public."
    • addedOutput schema / properties / status / description
      Added value: +"Derived from last_seen (active = seen within the last hour)."
    • removedOutput schema / properties / user_id
      Removed value: -{
      -  "type": [
      -    "string",
      -    "null"
      -  ]
      -}
    • addedOutput schema / required
      Added value: +[
      +  "id"
      +]
  2. Changed2 schema fields changed
    • addedOutput schema / $defs / Agent / properties / groups
      Added value: +{
      +  "description": "Active groups this agent belongs to, name-ordered; `[]` when none. Present on org-fleet rows (GET /v1/orgs/{org_id}/agents). Archived groups are excluded.",
      +  "items": {
      +    "properties": {
      +      "color": {
      +        "description": "Group color (hex, e.g. `#0d9488`); `null` when unset.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "id": {
      +        "type": "string"
      +      },
      +      "name": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "id",
      +      "name",
      +      "color"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / groups
      Added value: +{
      +  "description": "Active groups this agent belongs to, name-ordered; `[]` when none. Present on org-fleet rows (GET /v1/orgs/{org_id}/agents). Archived groups are excluded.",
      +  "items": {
      +    "properties": {
      +      "color": {
      +        "description": "Group color (hex, e.g. `#0d9488`); `null` when unset.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "id": {
      +        "type": "string"
      +      },
      +      "name": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "id",
      +      "name",
      +      "color"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
  3. Changed14 schema fields changed
    • removedOutput schema / $defs / Agent / properties / aap_enabled
      Removed value: -{
      -  "description": "Owner projection: AAP pipeline enabled.",
      -  "type": "boolean"
      -}
    • removedOutput schema / $defs / Agent / properties / aip_enabled
      Removed value: -{
      -  "description": "Owner projection: AIP pipeline enabled.",
      -  "type": "boolean"
      -}
    • removedOutput schema / $defs / Agent / properties / analyze_output
      Removed value: -{
      -  "description": "Owner projection: analyze agent output.",
      -  "type": [
      -    "boolean",
      -    "null"
      -  ]
      -}
    • removedOutput schema / $defs / Agent / properties / ddr_mode
      Removed value: -{
      -  "description": "Owner projection: drift-detection-response mode (mig default 'flag').",
      -  "type": "string"
      -}
    • removedOutput schema / $defs / Agent / properties / nudge_strategy
      Removed value: -{
      -  "description": "Owner projection: nudge strategy.",
      -  "type": [
      -    "string",
      -    "null"
      -  ]
      -}
    • removedOutput schema / $defs / Agent / properties / proof_enabled
      Removed value: -{
      -  "description": "Owner projection: proof capture enabled.",
      -  "type": "boolean"
      -}
    • removedOutput schema / $defs / Agent / properties / proof_rate
      Removed value: -{
      -  "description": "Owner projection: proof sampling rate (0–100%).",
      -  "type": "integer"
      -}
    • removedOutput schema / properties / aap_enabled
      Removed value: -{
      -  "description": "Owner projection: AAP pipeline enabled.",
      -  "type": "boolean"
      -}
    • removedOutput schema / properties / aip_enabled
      Removed value: -{
      -  "description": "Owner projection: AIP pipeline enabled.",
      -  "type": "boolean"
      -}
    • removedOutput schema / properties / analyze_output
      Removed value: -{
      -  "description": "Owner projection: analyze agent output.",
      -  "type": [
      -    "boolean",
      -    "null"
      -  ]
      -}
    • removedOutput schema / properties / ddr_mode
      Removed value: -{
      -  "description": "Owner projection: drift-detection-response mode (mig default 'flag').",
      -  "type": "string"
      -}
    • removedOutput schema / properties / nudge_strategy
      Removed value: -{
      -  "description": "Owner projection: nudge strategy.",
      -  "type": [
      -    "string",
      -    "null"
      -  ]
      -}
    • removedOutput schema / properties / proof_enabled
      Removed value: -{
      -  "description": "Owner projection: proof capture enabled.",
      -  "type": "boolean"
      -}
    • removedOutput schema / properties / proof_rate
      Removed value: -{
      -  "description": "Owner projection: proof sampling rate (0–100%).",
      -  "type": "integer"
      -}
  4. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the read-only nature is covered. The description adds that the lookup targets 'public identity and trust state,' providing some scope beyond annotations, but it does not disclose behavior for missing IDs, error cases, or data freshness, so the added transparency is modest.

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

Conciseness5/5

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

The description is a single, front-loaded sentence with no wasted words. It names the action, the resource, and the lookup key, while the final clause adds meaningful context about the tool's reliability as an 'accountable record.'

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 one-parameter lookup with an output schema and strong annotations, the description is largely complete: it identifies what is looked up and why it matters. The only missing piece is explicit guidance about when to prefer sibling tools, but that is more a usage-guideline concern and does not undermine overall completeness for a simple read-only lookup.

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?

The input schema has 100% coverage: agent_id is described with an example ('e.g. smolt-abc123'). The description only repeats 'by ID' without adding new parameter semantics, so baseline 3 is appropriate.

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 verb and resource: 'Look up an agent's public identity and trust state by ID.' This clearly distinguishes it from siblings like list_agents (which lists) and get_reputation (which focuses on reputation), and it explicitly identifies the lookup key (ID).

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?

The description implies use when one needs the accountable agent record, but it provides no explicit when-to-use or when-not-to-use guidance, nor does it mention alternative tools like get_reputation or verify_agent_binding. It relies on context rather than explicit exclusions.

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.

TDQS

A4.1/5.0
Disambiguation5/5

Each tool targets a distinct operation: identity claiming, lookup, reputation retrieval/badge, scanning, verification, alignment/protection management, and feedback. No significant overlap exists.

Naming Consistency5/5

All tools follow a consistent verb_noun pattern using snake_case (e.g., claim_agent, get_reputation, verify_scan). Even complex names like preview_compose_alignment_by_agent adhere to the pattern.

Tool Count4/5

With 16 tools, the set is slightly heavy but still well-scoped for the domain of AI agent trust ratings. Each tool serves a clear purpose, and no tool feels redundant.

Completeness4/5

The surface covers core workflows: agent identity, reputation, alignment/protection, scanning, verification, and feedback. Minor gaps like agent updates or deletion might exist, but the core lifecycle is complete.