Skip to main content
Glama
alexxcpr

ONE-MCP

by alexxcpr

get_entity_record

Retrieve a single entity record by entity name and primary key, returning all properties and child entities. Use when you know the exact record needed.

Instructions

Retrieve a single entity record by its entity name and key (primary key). Returns the full record with all properties and child entities. Use this when you know exactly which record you need (e.g., entity 'user' with key 1).

To discover records, use fetch_query instead.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyYesThe primary key of the record to retrieve
entityNameYesThe name of the entity (e.g., 'user', 'invoice', 'ui_catalog')
Behavior4/5

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

With no annotations, the description discloses the return content ('full record with all properties and child entities'), which helps set expectations. However, it doesn't mention error behavior or access requirements, but for a read operation this level is sufficient.

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?

Concise two-sentence paragraph, with the core action front-loaded and a relevant example. The alternative tool mention is integrated without clutter. Every sentence contributes value.

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 simple retrieval tool with no output schema, the description covers the full return shape ('all properties and child entities') and use-case context. Sibling tools like fetch_query are referenced appropriately. No critical gaps remain.

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. The description adds a concrete example ('entity 'user' with key 1') and clarifies the key is a primary key, going slightly beyond the schema's own descriptions.

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 clearly states the tool retrieves a single entity record using entity name and key, with explicit scope ('exactly which record you need'). It distinguishes itself by naming the alternative fetch_query for discovery, making its purpose unambiguous.

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

Usage Guidelines5/5

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

Provides direct usage criteria: 'Use this when you know exactly which record you need' and explicitly points to fetch_query as the alternative for discovery. This gives the agent clear decision rules.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/alexxcpr/ONE-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server