Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
ddb37cb
MCP semantic conventions
lmolkova Apr 8, 2025
4aaeb65
fix link
lmolkova Oct 25, 2025
5de1c3c
Some of the review comments
lmolkova Nov 2, 2025
cfcf1c1
address some of the comments
lmolkova Nov 2, 2025
9e8d1b0
mcp.response.result -> mcp.result, better examples for network.transport
lmolkova Nov 3, 2025
0ffe9c2
review: output params and _meta params
lmolkova Nov 8, 2025
aeb8a75
lint
lmolkova Nov 8, 2025
70977a6
Merge branch 'main' into mcp
lmolkova Nov 18, 2025
455b916
gen_ai.tool.name and gen_ai.prompt.name
lmolkova Nov 18, 2025
b8f15ab
add link to mcp session management
lmolkova Nov 18, 2025
33f0e0b
remove input/result params for now, add transport table
lmolkova Nov 19, 2025
38d6bbd
Merge branch 'main' into mcp
lmolkova Nov 24, 2025
6ebd29d
lint
lmolkova Nov 24, 2025
7dc0f4b
Merge branch 'main' into mcp
lmolkova Dec 2, 2025
b58b8fa
make mcp tool call and genai tool execution spans compatible, add not…
lmolkova Dec 2, 2025
8f53175
Merge branch 'main' into mcp
lmolkova Dec 3, 2025
300fdfc
clarigy suppression + enrichment
lmolkova Dec 3, 2025
cb57baa
fix common attributes and links
lmolkova Dec 3, 2025
6b41774
lint
lmolkova Dec 3, 2025
392d674
Merge branch 'main' into mcp
lmolkova Dec 15, 2025
0b18d29
add MCP examples and minor fixes
lmolkova Dec 16, 2025
eb40af1
update examples and toc
lmolkova Dec 16, 2025
56eb310
align with RPC changes, remove mcp.request.id - use jsonrpc one
lmolkova Dec 16, 2025
c0bb778
Update docs/gen-ai/mcp.md
lmolkova Dec 29, 2025
8c2ea84
Update docs/gen-ai/mcp.md
lmolkova Dec 29, 2025
a364cc7
Update docs/gen-ai/mcp.md
lmolkova Dec 29, 2025
da7ba27
review
lmolkova Dec 29, 2025
8ddbb55
Merge branch 'mcp' of https://github.com/lmolkova/semantic-convention…
lmolkova Dec 29, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .chloggen/2083.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
change_type: enhancement
component: mcp
note: Add MCP semantic conventions
issues: [2043, 2083]
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@
/docs/gen-ai/ @open-telemetry/specs-semconv-approvers @open-telemetry/semconv-genai-approvers
/model/gen-ai/ @open-telemetry/specs-semconv-approvers @open-telemetry/semconv-genai-approvers
/model/openai/ @open-telemetry/specs-semconv-approvers @open-telemetry/semconv-genai-approvers
/model/mcp/ @open-telemetry/specs-semconv-approvers @open-telemetry/semconv-genai-approvers

# Security semantic conventions
/docs/dns/ @open-telemetry/specs-semconv-approvers @open-telemetry/semconv-security-approvers
Expand Down
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ body:
- area:k8s
- area:log
- area:mainframe
- area:mcp
Comment thread
lmolkova marked this conversation as resolved.
- area:messaging
- area:network
- area:nfs
Expand Down
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/change_proposal.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ body:
- area:k8s
- area:log
- area:mainframe
- area:mcp
- area:messaging
- area:network
- area:nfs
Expand Down
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/new-conventions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ body:
- area:k8s
- area:log
- area:mainframe
- area:mcp
- area:messaging
- area:network
- area:nfs
Expand Down
2 changes: 1 addition & 1 deletion AREAS.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ their owners, related project (and project board) as well as its current status.
|------|--------|---------|-------|-------|--------|-------|
| Semantic Conventions: System | [semconv-system-approvers](https://github.com/orgs/open-telemetry/teams/semconv-system-approvers) | https://github.com/open-telemetry/community/blob/main/projects/system-semconv.md | https://github.com/orgs/open-telemetry/projects/55 | `area:system`, `area:host`, `area:process`, `area:nfs`, `area:os`, `area:cpu`, `area:disk`, `area:network`, `area:linux` | `accepting_contributions`, `active` | The SIG is looking for contributions! |
| Semantic Conventions: K8s | [semconv-k8s-approvers](https://github.com/orgs/open-telemetry/teams/semconv-k8s-approvers) | https://github.com/open-telemetry/community/blob/main/projects/k8s-semconv.md | https://github.com/orgs/open-telemetry/projects/114 | `area:k8s`, `area:container`, `area:oci` | `accepting_contributions`, `active` | The SIG is looking for contributions! |
| Semantic Conventions: GenAI | [semconv-genai-approvers](https://github.com/orgs/open-telemetry/teams/semconv-genai-approvers) | https://github.com/open-telemetry/community/blob/main/projects/gen-ai.md | https://github.com/orgs/open-telemetry/projects/82 | `area:gen-ai`, `area:openai` | `accepting_contributions`, `active` | The SIG is looking for contributions! |
| Semantic Conventions: GenAI | [semconv-genai-approvers](https://github.com/orgs/open-telemetry/teams/semconv-genai-approvers) | https://github.com/open-telemetry/community/blob/main/projects/gen-ai.md | https://github.com/orgs/open-telemetry/projects/82 | `area:gen-ai`, `area:openai`, `area:mcp` | `accepting_contributions`, `active` | The SIG is looking for contributions! |
| Semantic Conventions: CI/CD | [semconv-cicd-approvers](https://github.com/orgs/open-telemetry/teams/semconv-cicd-approvers) | https://github.com/open-telemetry/community/blob/main/projects/ci-cd-phase-2.md | https://github.com/orgs/open-telemetry/projects/79 | `area:cicd`, `area:artifact`, `area:deployment`, `area:test`, `area:vcs` | `accepting_contributions`, `active` | The SIG is looking for contributions! |
| Semantic Conventions: Security | [semconv-security-approvers](https://github.com/orgs/open-telemetry/teams/semconv-security-approvers) | https://github.com/open-telemetry/community/blob/main/projects/security-semconv.md | https://github.com/orgs/open-telemetry/projects/104 | `area:security`, `area:log`, `area:user`, `area:dns`, `area:file`, `area:tls`, `area:network`, `area:process` | `accepting_contributions`, `active` | The SIG is looking for contributions! |
| Semantic Conventions: Browser Instrumentation | [semconv-browser-approvers](https://github.com/orgs/open-telemetry/teams/semconv-browser-approvers) | https://github.com/open-telemetry/community/blob/main/projects/browser-phase-1.md | https://github.com/orgs/open-telemetry/projects/146 | `area:browser` | `accepting_contributions`, `active` | The SIG is looking for contributions! |
Expand Down
1 change: 1 addition & 0 deletions areas.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ areas:
labels:
- area:gen-ai
- area:openai
- area:mcp
status:
- accepting_contributions
- active
Expand Down
4 changes: 4 additions & 0 deletions docs/gen-ai/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,8 @@ Technology specific semantic conventions are defined for the following GenAI sys
* [OpenAI](./openai.md): Semantic Conventions for OpenAI.
* [AWS Bedrock](./aws-bedrock.md): Semantic Conventions for AWS Bedrock.

See also:

* [Model Context Protocol](./mcp.md): Semantic Conventions for [MCP](https://modelcontextprotocol.io)

[DocumentStatus]: https://opentelemetry.io/docs/specs/otel/document-status
13 changes: 9 additions & 4 deletions docs/gen-ai/gen-ai-spans.md
Original file line number Diff line number Diff line change
Expand Up @@ -364,10 +364,15 @@ Describes tool execution span.

**Span name** SHOULD be `execute_tool {gen_ai.tool.name}`.

GenAI instrumentations that are able to instrument tool execution call SHOULD do so.
However, it's common for tools to be executed by the application code. It's recommended
for the application developers to follow this semantic convention for tools invoked
by the application code.
GenAI instrumentations that can instrument tool execution calls SHOULD do so,
unless another instrumentation can reliably cover all supported tool types.
MCP tool executions may also be traced by the
[corresponding MCP instrumentation](/docs/gen-ai/mcp.md#client).

Tools are often executed directly by application code. Application developers
are encouraged to follow this semantic convention for tools invoked by their
own code and to manually instrument any tool calls that automatic
instrumentations do not cover.

**Span kind** SHOULD be `INTERNAL`.

Expand Down
Loading
Loading