Skip to main content
Glama

Companies

companies
Read-only

The hotel's company records (name, contact, direct bill, terms). With name: that company, its stays and its group blocks. Needs the owner's sign-in.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "companies"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoCompany name or part of it, optional

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so safety is covered. The description adds genuinely new behavioral context the annotations cannot supply: an authorization prerequisite ('Needs the owner's sign-in') and the fact that supplying a name changes the payload shape by attaching stays and group blocks. It omits what happens with an ambiguous or unmatched name, which is the main remaining behavioral risk.

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?

Two short sentences, front-loaded with the resource and its fields, followed by the conditional behavior and the auth prerequisite. There is no filler and no sentence that could be removed without losing information.

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 optional-parameter read tool with full schema coverage and a clear annotation profile, the definition covers the resource, both call modes, the auth requirement, and the expanded result set. Since no output schema exists, a brief note on the shape of the no-name listing (array of companies, and any paging or limits) would have closed the last gap.

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% and the schema already documents 'name' as an optional company name or partial match, so the baseline is a 3. The description goes beyond that by explaining the consequence of populating the parameter (returns that company plus its stays and group blocks), which tells an agent more about the parameter's effect than the schema does.

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 names a concrete resource ('the hotel's company records') and enumerates what each record holds (name, contact, direct bill, terms), then states the specific expanded result when a name is supplied: that company, its stays, and its group blocks. It does not explicitly contrast itself with lookalike siblings such as 'groups' or 'find_stays', so an agent must infer the boundary between listing companies and listing groups.

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?

Usage is conveyed implicitly through the two modes: calling with no name lists company records, calling with a name drills into one company's stays and group blocks. There is no explicit statement of when to prefer this over 'groups', 'group', or 'find_stays', and no note on what to do when a partial name matches several companies.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources