Skip to main content
Glama
doitintl

DoiT MCP Server

Official
by doitintl

get_contract_template

Read-only

Retrieve a specific contract template by ID for managing PartnerOps reseller agreements. Requires admin and channelops entitlement permissions.

Instructions

Manage contract templates for PartnerOps resellers (T1/T2). Returns a single contract template owned by the authenticated tenant (from the bearer token). Requires ContractTemplatesAdmin, DoiT API access (platform:externalApi), and the channelops:contracts:templates entitlement.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
templateIDYes
customerContextNoScope the request to a specific customer by ID. Required for DoiT employees (whose token isn't tied to a single customer); omit for direct customer users.
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is known. Description adds meaningful context about ownership scope (tenant from bearer token), which clarifies the security boundary not visible in annotations. Doesn't mention output format or pagination, but with readOnlyHint the bar is lower; still adds value beyond annotations.

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?

Description is a single informative sentence with a follow-up on required access. It is front-loaded with purpose, then scope, then access requirements. Efficient use of words without redundancy, though could be slightly more structured but not verbose.

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 single-parameter retrieval tool with clear annotations and no output schema, the description covers purpose, scope, access conditions, and special-case usage (customerContext). It could mention what the template contains or return format, but given low complexity and good annotations, this is nearly complete. Missing explicit statement of what identity the template is returned for, but implied.

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 description coverage is 50% (only customerContext has a description, templateID has none). The description adds context for customerContext (required for DoiT employees, omit for direct customers) which is not in the schema. templateID remains undocumented, but description's context about owner and scope helps infer its meaning. Compensates well for the gap.

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 states it manages contract templates for PartnerOps resellers, returns a single template owned by the authenticated tenant, and clearly distinguishes from sibling 'list_contract_templates' which presumably lists multiple templates. The verb 'get' and resource are explicit.

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?

Provides context (PartnerOps resellers, T1/T2) and notes when customerContext is required (for DoiT employees) vs omitted for direct customers. Doesn't explicitly say when not to use it, but clear context implies standard retrieval. Lacks exclusion of alternatives beyond the sibling list tool, but sufficient.

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/doitintl/doit-mcp-server'

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