Skip to main content
Glama
compiuta-origin

Connhex MCP Server

Official

Get Resource

get_resource
Read-only

Retrieve a resource by ID from a JSON:API service, optionally including related resources inline to avoid additional API calls.

Instructions

Get a specific resource by its ID from a JSON:API service.

Use include when related resources should be returned inline.

If available, call the get_schema tool first to discover valid resource types, attributes, and relationships.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
includeNoComma-separated relationship names to include inline. Use this whenever the answer needs data from related resources: it replaces relationship references with full nested included resources and avoids a second API call. Example: to find devices for an installation, call resource_type="devices", filter={"installation:name": "Plant A"}, include="installation" so each device result includes the matched installation details.
resource_idYesResource ID.
resource_typeYesResource type name from get_schema, e.g. "devices" or "plants".

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
typeYes
Behavior4/5

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

Annotations already indicate safe read (readOnlyHint=true). Description adds behavioral context: JSON:API service, include parameter replaces relationships inline, avoids second API call. No additional details on errors or auth.

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 sentences, each with clear purpose: core action, parameter advice, and prerequisite guidance. No fluff, front-loaded.

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?

Given output schema exists, return values are covered. Description covers main usage aspects and parameter guidance. Missing error handling or single-resource guarantee, but acceptable for a simple read tool.

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% with good descriptions. Tool description adds value for include with example and context, but not for resource_id or resource_type beyond schema. Overall, adds meaningful explanation for one parameter.

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?

Clearly states 'Get a specific resource by its ID' with verb and resource. Mentions JSON:API service and use of include. However, lacks explicit differentiation from siblings like list_resources or get_manufacturing_resource.

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?

Provides guidance on when to use include and suggests calling get_schema first. Missing explicit when-not usage or alternatives.

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/compiuta-origin/connhex-tools'

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