Skip to main content
Glama
woofdogtw
by woofdogtw

device_route_create

Create a device route to link a device with an application, enabling data delivery from the device to the app. Both must belong to the same unit.

Instructions

Create a device route linking a device to an application. Both must belong to the same unit.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
deviceIdYesThe device ID to route.
applicationIdYesThe application ID to receive the device data.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior2/5

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

With no annotations provided, the description carries the full burden of disclosing side effects and constraints. It indicates a mutating create operation and the same-unit rule, but does not mention permissions, whether the operation fails on unmet constraints, idempotency, or what happens if a route already exists. This is a significant gap for a write operation.

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?

The description is compact, using two short sentences that front-load the primary action and then add the essential constraint. Every sentence contributes meaningful information with no filler or redundancy.

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 simple two-parameter creation tool, the description conveys the action, the involved resources, and a critical precondition. With no output schema and no annotations, a brief note on the response or failure behavior would improve completeness, but the core information needed to attempt the call correctly is present.

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?

The input schema provides complete descriptions for both deviceId and applicationId (100% coverage), so the schema documents the parameters adequately. The description adds minimal parameter-level meaning beyond naming the entities involved, which aligns with the baseline expectation when schema coverage is high.

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 states a clear action ('Create a device route') and explicit resources ('device' and 'application'), making the tool's function unmistakable. It distinguishes itself from bulk/range variants by focusing on a single route, though it doesn't explicitly name those alternatives.

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 provides a useful prerequisite ('Both must belong to the same unit'), giving context for when the call may be valid. However, it does not explicitly state when to prefer this tool over device_route_bulk_create or device_route_range_create, leaving usage differentiation to inference from the name.

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

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/woofdogtw/sylvia-iot-mcp'

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