Skip to main content
Glama
alexherbaly

upservice-mcp

by alexherbaly

upservice_get_directory

Read-onlyIdempotent

Get directory details from Upservice by specifying the directory ID. Outputs the directory record as JSON.

Instructions

Retrieve a single directory by ID.

Args: params (DirectoryIdInput): directory_id (int)

Returns: str: JSON of the directory record.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is clear. The description adds the return format (JSON string of the directory record), which provides useful context beyond the annotations.

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 extremely concise: one sentence for purpose, then clearly formatted argument and return sections. No filler or redundant information. Front-loaded with the core action.

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 get-by-ID tool with one parameter and an existing output schema, the description covers all necessary aspects: what the tool does, what input is required, and what output to expect. No gaps remain.

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 description coverage is 0%, but the parameter 'directory_id' is already well-documented in the input schema with its own description ('The Upservice directory ID'). The description merely repeats the parameter name and type without adding new semantics, so baseline 3 is appropriate.

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?

Description clearly states 'Retrieve a single directory by ID,' which is a specific verb+resource combination. It distinguishes from sibling tools like 'list_directories' that return multiple records, and from mutation tools.

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?

No explicit guidance on when to use this tool versus alternatives such as 'upservice_list_directories' or 'upservice_get_directory_record.' The usage is implied by the name and description, but not spelled out.

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/alexherbaly/upservice-mcp'

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