Skip to main content
Glama

getAssignments

Read-only

List assignments of resources like offices, dedicated desks, and parking lots to customers. Requires locationRef. Call getLocations to list locations, or getLocation to fetch one by locationId. Each assignment names its resource, its customer, and its dates; ended assignments are included.

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": "getAssignments"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of assignments per page. Defaults to 25 when omitted or invalid; values above 100 are capped at 100. Ignored when registrationRef is used.
locationRefNoUUID of the location whose resource assignments to list.
nextPageTokenNoPagination token from nextPageToken in a previous response. Keep the same filters when fetching the next page. Ignored when registrationRef is used.

Output Schema

NameRequiredDescriptionDefault
assignmentsYes
nextPageTokenNoPass it back as nextPageToken, with the same filters, to get the next page. Absent on the last page.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

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 the safety profile is covered. The description adds genuine scope context beyond that: ended assignments are included, and each record carries resource, customer and dates. The 'Requires locationRef' claim is not backed by the schema's zero required parameters, which weakens the behavioral contract.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three tight sentences with the core purpose and the prerequisite front-loaded, and no filler. The redundant restatement of what each assignment contains is a small cost given an output schema exists.

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 paginated read tool with an output schema and full annotation coverage, this covers what an agent needs to call it. The remaining gap is the mismatch between the stated 'Requires locationRef' prerequisite and the schema's empty required list.

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 100%, so limit, locationRef and nextPageToken are already documented in the schema, making 3 the baseline. The description restates locationRef as mandatory (schema marks nothing required) and adds nothing about limit capping or pagination token reuse that the schema does not already say.

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?

States a specific verb and resource ('List assignments of resources like offices, dedicated desks, and parking lots to customers'), which is concrete enough to distinguish it from the singular getAssignment and from getLocations. It stops short of explicitly naming the sibling it is not, so it falls just below the top tier.

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?

Gives an explicit prerequisite ('Requires locationRef') and tells the agent how to obtain that value by pointing to getLocations and getLocation. It does not say when to prefer getAssignment (singular) or how to handle the registrationRef path, so routing guidance is incomplete rather than absent.

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