Skip to main content
Glama

Get Organization State & Escrow Ledger

get_org
Read-onlyIdempotent

Retrieve an organization’s live status, Role-DAG task order, escrow balances, and audit trail by orgId; use an optional principal token to unlock redacted private details.

Instructions

Retrieve an organization’s live status, compiled Role-DAG order, task list, exact integer minor-unit escrow balances (locked, released, holdback, disputed, refunded, available), and audit trail. For safety, Principal private notes, on-site OTP secrets, and full submission details are automatically redacted unless a valid principalAuthToken is supplied. Returns 404 if orgId is not found.

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": {
      "orgId": "<orgId>"
    },
    "name": "get_org"
  }
}

Input Schema

NameRequiredDescriptionDefault
orgIdYesUnique organization ID returned by `create_org` (e.g. "org_a1b2c3d4").
principalAuthTokenNoOptional Principal secret authorization token (`x-principal-token`) to unlock Principal-only views such as private notes, on-site OTP codes, and pending approval details.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.1.1
    • addedInput schema / properties / orgId / description
      Added value: +"Unique organization ID returned by `create_org` (e.g. \"org_a1b2c3d4\")."
    • addedInput schema / properties / principalAuthToken / description
      Added value: +"Optional Principal secret authorization token (`x-principal-token`) to unlock Principal-only views such as private notes, on-site OTP codes, and pending approval details."
  2. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Beyond the annotations (readOnly, idempotent, non-destructive), the description discloses meaningful behavior: private notes, OTP secrets, and full submission details are automatically redacted unless a valid principalAuthToken is supplied, and a missing orgId yields a 404. That is substantive context an agent needs before invoking it. It does not describe pagination or response size, but the redaction and error behavior are well covered.

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?

Two dense sentences, front-loaded with the primary purpose and followed by the safety/redaction caveat and the 404 behavior. Every clause carries information; there is no filler. Slight density is the only reason it is not a 5.

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, the description compensates by enumerating the returned data (status, Role-DAG order, task list, escrow buckets, audit trail). Annotations cover the safety profile, and the schema fully documents the two parameters. The definition is complete enough for an agent to call correctly; only pagination/response-size expectations are unaddressed.

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 parameters are already documented in the input schema. The description adds marginal meaning by emphasizing that redaction applies to 'full submission details' in addition to the schema's listed Principal-only views, and by tying the token to unlocking those views. Baseline 3 is appropriate when the schema carries most parameter semantics.

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 uses a specific verb ("Retrieve") and enumerates exactly what is returned: live status, compiled Role-DAG order, task list, escrow balances across six buckets, and audit trail. It is clearly a read-state tool for an organization. It does not explicitly contrast itself with siblings like list_open_tasks or close_org, so it stops short of a 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?

The description implies when to use it by naming the resources it retrieves, and it gives conditional guidance for the optional principalAuthToken (supply it to unlock redacted Principal-only views). It does not state when to prefer a sibling such as list_open_tasks for task listing or when not to call this tool, so usage is only implied.

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