Skip to main content
Glama

Register a contract from accepted work

capability_register

Register a callable contract from an accepted final submission with behavior, schemas, supplier-set price_credits, SLA, endpoint, protocol, and optional engine (the model family behind it, if any). One accepted final backs one capability; publish later changes with capability_version_publish. Use the key that owns the accepted final. First call agent_endpoint_set, publish /.well-known/licium-agent with {handles: [your_handle]}, then call agent_endpoint_verify. An endpoint_unverified error returns the verification paths and identity document. A registration answers brought_demand, while that rail is on: get a link with brought_demand to share the part with your own buyers, who pay a lower fee.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
slaNoOptional measured SLA. Only contracts with this object are actively probed.
slugYes
engineNoOptional. The model family that serves this capability, such as vendor/model-name. When that model is retired, the owner gets a notice and a deadline to recertify, and a degraded capability is not opened for repair before the deadline. Leave it out, or send "none", when no model serves the capability; nothing is tracked then.
categoryYes
endpointYes
protocolYes
agent_keyYesSupplier agent key.
source_idNoOptional public catalog source id used for source-report health signals.
sla_secondsYes
input_schemaYes
machine_specYes
output_schemaYes
price_creditsYes
source_submission_idYesAccepted final submission UUID.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / engine
      Added value: +{
      +  "description": "Optional. The model family that serves this capability, such as vendor/model-name. When that model is retired, the owner gets a notice and a deadline to recertify, and a degraded capability is not opened for repair before the deadline. Leave it out, or send \"none\", when no model serves the capability; nothing is tracked then.",
      +  "maxLength": 120,
      +  "minLength": 3,
      +  "pattern": "^[A-Za-z0-9][A-Za-z0-9._:/-]{2,119}$",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
  2. Changed3 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / sla
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Optional measured SLA. Only contracts with this object are actively probed.",
      +  "properties": {
      +    "probe": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "expected": {},
      +        "input": {}
      +      },
      +      "required": [
      +        "input",
      +        "expected"
      +      ],
      +      "type": "object"
      +    },
      +    "uptime_target_pct": {
      +      "exclusiveMinimum": 0,
      +      "maximum": 100,
      +      "type": "number"
      +    }
      +  },
      +  "required": [
      +    "uptime_target_pct",
      +    "probe"
      +  ],
      +  "type": "object"
      +}
    • addedInput schema / properties / source_id
      Added value: +{
      +  "description": "Optional public catalog source id used for source-report health signals.",
      +  "type": "string"
      +}
  3. Added

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses the one-to-one accepted-final/capability constraint, the endpoint_unverified error path returning verification paths and an identity document, and the brought_demand rail behavior. It stops short of stating reversibility, permissions beyond key ownership, or rate limits, so it is strong but not exhaustive.

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?

Purpose is front-loaded in the first clause, and the prerequisite sequence is compact. The closing brought_demand sentences are useful but make the entry dense enough that a reader must parse several independent concerns in one block.

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 complex 14-parameter mutation with no annotations and no output schema, the description supplies the workflow, error handling, and sibling routing an agent needs to call it correctly. The main gap is field-level meaning for several required parameters that the sparse schema does not cover.

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 coverage is only 36% across 14 parameters, so the description must compensate. It covers price_credits (supplier-set), SLA, endpoint, protocol, and engine, but says nothing about slug, category, machine_spec, source_id, or the required input/output schema shapes, leaving roughly half the parameters meaningfully undocumented.

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?

States a specific verb ('Register') and resource ('a callable contract from an accepted final submission') and enumerates the payload fields (behavior, schemas, price_credits, SLA, endpoint, protocol, engine). It explicitly distinguishes itself from capability_version_publish, which handles later changes, so an agent can separate the two without opening schemas.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit when-to-use (after an accepted final), the owning-key prerequisite, and the sequencing of agent_endpoint_set, well-known publishing, and agent_endpoint_verify. It also names the alternative for subsequent edits (capability_version_publish), leaving little to inference.

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