Skip to main content
Glama

get_smart_object_component_definition

Read-onlyIdempotent

Read the smart object definition assigned to an actor's component and check if it is registered. Requires the actor label; returns definition string and registration status.

Instructions

Read the USmartObjectDefinition assigned to an actor's USmartObjectComponent and whether it is registered.

Returns: { actor_label: string, definition: string, has_definition: bool, registered: bool }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actor_labelYesEditor label of the actor carrying the USmartObjectComponent

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and non-destructive behavior, so safety is covered. The description adds the full return contract, including the has_definition and registered booleans, which signal the edge case of a component existing without an assigned definition — meaningful since no output schema exists.

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 tight sentences, with the core action front-loaded and the return shape second. Every sentence earns its place; the compact inline type notation is efficient.

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 single-parameter read tool whose annotations carry the safety profile and which has no output schema, the purpose and inline return contract are sufficient to call it correctly. Naming an alternative or how to obtain actor_label would make it fully complete.

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 single actor_label parameter is fully documented in the schema. The description adds nothing about the parameter, so the baseline 3 applies.

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?

States a specific verb (Read) and precise resource (the USmartObjectDefinition assigned to an actor's USmartObjectComponent) plus the registration flag. It is clearly distinct from the write counterpart set_component_definition and from get_smart_object_info, but it does not explicitly name or contrast those siblings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance and no alternatives named. The agent must infer that this is the read-side of set_component_definition and the component-level counterpart of get_smart_object_info on its own.

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

Deploy Server

Other Tools