Skip to main content
Glama

get_entity

Retrieve a single Albato Builder entity by ID, optionally expanding relations and selecting only needed fields to keep responses focused.

Instructions

One entity by ID. expand controls depth, pick controls width: if you need two or three fields, list them and the rest stays out of the response. More than two entities: get_entities, one call instead of N.

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": {
      "resource": "<resource>"
    },
    "name": "get_entity"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoEntity ID
pickNoOnly these fields: ["code", "data.type", "fields.code"]. Dot-separated path, arrays per element. id is always returned
appIdNoApp ID. Not needed only for resource: "apps"
expandNoComma-separated relations. For a webhook trigger, event body parsing is response, it comes automatically
resourceYesBuilder resource the operation is performed on
parentIdsNoParent IDs for nested resources: {actionId: 42}, {cfsId: 12}, {enumId: 7}, {wizardId: 3}
versionIdNoVersion ID. Not needed for resource: "apps" and "versions". Only a private version is writable; ensure_editable_version tells you which one

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioral burden. It usefully discloses a non-obvious side effect of `pick` ("the rest stays out of the response") and that `expand` widens depth, but says nothing about read-only nature, permission/app-scoping requirements, or what happens on a missing or inaccessible ID. Partial coverage of effect, no coverage of safety or error behavior.

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?

Three short clauses, front-loaded with identity, then the two tuning parameters, then the sibling escape hatch. Every clause carries distinct information; nothing is repeated from the schema or padded.

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

Completeness3/5

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

Seven parameters, nested `parentIds`, a 38-value resource enum, no output schema and no annotations make this a heavy definition. The description covers the response-shaping axis well, but a caller still cannot learn from it alone what is returned, whether the operation is safe, or how nested-resource addressing works. Adequate, with clear gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds genuine meaning beyond it: the depth-vs-width framing of `expand` versus `pick`, and the consequence that unlisted fields are omitted while `id` is retained. `parentIds`, `versionId` write-eligibility, and `appId` scoping are left entirely to the schema, so it is not a 5.

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?

"One entity by ID" states a specific resource and scope, and the closing sentence explicitly separates it from get_entities by cardinality. It stops short of naming the retrieval verb or the full resource space (the enum spans actions, triggers, enums, etc.), but an agent can still tell what this does and that it is the single-item variant.

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?

Gives an explicit routing rule with a concrete threshold: "More than two entities: get_entities, one call instead of N." That is real when-to-use guidance tied to a named sibling. It leaves the one-or-two-entity middle ground and any exclusion for non-bulk use cases unstated.

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