Skip to main content
Glama

Get a DigitalPublic plan

dp_commercial_get_offer
Read-onlyIdempotent

Return one current plan by id.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
planIdYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYes
dataYes
errorYes
linksYes
versionYes
evidenceYes
nextActionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "data": {
      +      "anyOf": [
      +        {},
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "error": {
      +      "anyOf": [
      +        {},
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "evidence": {
      +      "items": {},
      +      "type": "array"
      +    },
      +    "links": {
      +      "additionalProperties": {},
      +      "propertyNames": {
      +        "type": "string"
      +      },
      +      "type": "object"
      +    },
      +    "nextAction": {
      +      "type": "string"
      +    },
      +    "ok": {
      +      "type": "boolean"
      +    },
      +    "version": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "ok",
      +    "data",
      +    "error",
      +    "nextAction",
      +    "links",
      +    "evidence",
      +    "version"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint and idempotentHint, so the safety profile is clear. The description adds only the scoping notion of 'current' and 'by id', but does not disclose error behavior, permissions, or data freshness. With annotations covering the main concerns, a 3 is appropriate.

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 a single, compact sentence with no filler. Every word ('Return', 'one', 'current', 'plan', 'by id') contributes meaning, and the key operation is front-loaded.

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-parameter read tool with readOnly and idempotent annotations plus an output schema, the description is mostly complete. The only gap is navigation: an agent without a planId may not know to use list_offers, but that is a minor omission given the tool's simplicity.

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%, so the description must compensate. 'by id' maps directly to the required planId parameter and gives it meaning, but it does not explain what a valid planId looks like or how to obtain one. The parameter name is self-explanatory, so this is minimally adequate.

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 uses a specific verb ('Return') and a specific resource ('one current plan') with an identifier qualifier ('by id'). This clearly distinguishes it from siblings like dp_commercial_list_offers (plural) and dp_commercial_compare_offers, which operate on multiple plans.

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 implies usage: you need a specific plan id to fetch a single plan, which differentiates it from listing or comparing offers. However, it does not explicitly state when to prefer this tool over siblings or mention alternatives like list_offers when an id is not available.

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