Skip to main content
Glama

Trillboards DOOH Advertising

list_error_codes

List every error code in the Trillboards API error catalog.

WHEN TO USE:

  • Understanding what error codes the API can return.

  • Building a client-side error handler that covers all cases.

  • Looking up error types, HTTP statuses, and documentation URLs.

RETURNS:

  • object: "list"

  • data: Array of { code, type, http_status, description, doc_url }

  • total: Total number of error codes.

Equivalent to GET /v1/errors but executed in-process (no HTTP round-trip).

EXAMPLE: Agent: "What error codes can the API return?" list_error_codes()

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations provided, the description carries full behavioral burden. It discloses that the tool is equivalent to GET /v1/errors but executed in-process (no HTTP round-trip), which is a meaningful behavioral trait. It also specifies the return structure, including the 'list' object, 'data' array, and 'total' count. This adds valuable context beyond what structured fields would convey.

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 well-structured with clear sections: DESCRIPTION, WHEN TO USE, RETURNS, and EXAMPLE. It is appropriately sized for the information provided—every sentence contributes meaning, from the main purpose to the in-process equivalence to the return payload. The example is concise and illustrative without being redundant.

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 zero-parameter, no-output-schema tool, this description is fully complete. It covers the purpose, usage scenarios, return shape, and underlying API equivalence. The explicit 'RETURNS' section compensates for the lack of an output schema by detailing the exact structure of the response.

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?

The tool has zero parameters, so per guidelines the baseline score is 4. The description does not need to compensate for missing schema coverage, as there are no parameters to document. The included example call (list_error_codes()) further confirms the no-argument usage.

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?

The description opens with a specific verb+resource statement: 'List every error code in the Trillbacks API error catalog.' This clearly identifies the tool's purpose and scope. It also distinguishes itself from sibling list_* tools by focusing on the error catalog, making it unambiguous.

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?

The 'WHEN TO USE' section explicitly enumerates three concrete use cases (understanding error codes, building client-side error handlers, looking up error types). This provides clear context for when to invoke the tool, though it does not explicitly mention alternatives or exclusions. Sibling tools like list_endpoints are different enough that the context is sufficient.

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.

TDQS

B3.3/5.0
Disambiguation2/5

There are exact duplicates (get_task_status/tasks_get, list_tasks/tasks_list) and several overlapping analytics, attribution, and semantic search clusters (get_attention_metrics vs get_creative_attention vs get_social_attention; find_similar_moments vs semantic_search_observations; get_campaign_attribution vs get_multi_touch_attribution vs get_roas). Detailed descriptions help, but with 83 tools an agent will frequently struggle to pick the right one.

Naming Consistency3/5

Most tools follow a snake_case verb_noun pattern (list_devices, create_campaign, delete_webhook), but there are notable inconsistencies: list_* and get_* are used interchangeably for list operations, attention tools mix conventions (get_attention_metrics vs get_creative_attention vs get_social_attention), and the legacy tasks_get/tasks_list names break the established get_task_status/list_tasks pattern.

Tool Count1/5

83 tools is an extreme count for a single MCP server, spanning device management, sensing, campaigns, media buys, attribution, webhooks, billing, API discovery, and AdCP protocol concerns. This is a broad API surface dump rather than a focused tool set, and it would be far better split into several coherent servers.

Completeness2/5

Despite the enormous surface, core campaign lifecycle is incomplete: create_campaign explicitly tells the agent to use update_campaign to activate a campaign, but no update_campaign tool exists, and there are no list/delete campaign tools. Significant capabilities exist for analytics, attribution, and webhooks, but the primary advertising workflow has a dead end.

Resources